From: cristy Date: Mon, 23 Dec 2013 19:37:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3034 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ffb8682e472084dc196871c9efce53c4dd67019;p=imagemagick --- diff --git a/coders/jp2.c b/coders/jp2.c index ff460ac80..4134bb59a 100644 --- a/coders/jp2.c +++ b/coders/jp2.c @@ -671,6 +671,7 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception) profile=DestroyStringInfo(profile); (void) jas_stream_close(icc_stream); } + jas_iccprof_destroy(icc_profile); } (void) jas_stream_close(jp2_stream); jas_image_destroy(jp2_image);