Skip to content

Commit

Permalink
remove redundant memory free after munmap
Browse files Browse the repository at this point in the history
  • Loading branch information
oguyon committed Aug 10, 2023
1 parent 8d3dbe0 commit 129fa97
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ImageStreamIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -1553,13 +1553,6 @@ errno_t ImageStreamIO_destroyIm(
}
image->array.UI8 = NULL;


if (image->md != NULL)
{
free(image->md);
image->md = NULL;
}

image->used = 0;
}

Expand Down

0 comments on commit 129fa97

Please sign in to comment.