]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 23 Dec 2013 19:37:44 +0000 (19:37 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 23 Dec 2013 19:37:44 +0000 (19:37 +0000)
coders/jp2.c

index ff460ac80328347b2474e9d311b72c0b8fb24b78..4134bb59ac333d8fb95bc10d3c0edab84dcb7fab 100644 (file)
@@ -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);