Merge pull request #313 from zmack/fix_magick_memory_leak
Fix memory leak in magick free
This commit is contained in:
commit
504daa1509
@ -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
Block a user