Fix memory leak in magick free
This commit is contained in:
parent
fa8d1d2342
commit
682e73f4a3
|
@ -140,7 +140,7 @@ read_free( Read *read )
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
|
|
||||||
VIPS_FREE( read->filename );
|
VIPS_FREE( read->filename );
|
||||||
VIPS_FREEF( DestroyImage, read->image );
|
VIPS_FREEF( DestroyImageList, read->image );
|
||||||
VIPS_FREEF( DestroyImageInfo, read->image_info );
|
VIPS_FREEF( DestroyImageInfo, read->image_info );
|
||||||
VIPS_FREE( read->frames );
|
VIPS_FREE( read->frames );
|
||||||
if ( (&read->exception)->signature == MagickSignature ) {
|
if ( (&read->exception)->signature == MagickSignature ) {
|
||||||
|
|
Loading…
Reference in New Issue