Fix memory leak in magick free

This commit is contained in:
Andrei Bocan 2015-07-10 14:07:52 +03:00
parent fa8d1d2342
commit 682e73f4a3
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ read_free( Read *read )
#endif /*DEBUG*/
VIPS_FREE( read->filename );
VIPS_FREEF( DestroyImage, read->image );
VIPS_FREEF( DestroyImageList, read->image );
VIPS_FREEF( DestroyImageInfo, read->image_info );
VIPS_FREE( read->frames );
if ( (&read->exception)->signature == MagickSignature ) {