https://github.com/ImageMagick/ImageMagick/issues/517).
+2017-06-10 7.0.6-0 Glenn Randers-Pehrson <glennrp@image...>
+ * Stop a memory leak in read_user_chunk_callback() (reference
+ https://github.com/ImageMagick/ImageMagick/issues/517).
+
2017-06-10 7.0.6-0 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-0, GIT revision 20194:b0c0d00:20170611.
p[4] != '\0' || p[5] != '\0')
{
/* Chunk is malformed */
+ profile=DestroyStringInfo(profile);
return(-1);
}
}
(void) SetImageProfile(image,"exif",profile,
error_info->exception);
+ profile=DestroyStringInfo(profile);
+
return(1);
}
/*
PNG image is corrupt.
*/
+ printf(" destroy_read_struct\n");
png_destroy_read_struct(&ping,&ping_info,&end_info);
#ifdef IMPNG_SETJMP_NOT_THREAD_SAFE