Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jul 9, 2017
1 parent 3320955 commit 982d89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/png.c
Expand Up @@ -4296,7 +4296,7 @@ static Image *ReadOneJNGImage(MngInfo *mng_info,
{
if (color_image != (Image *) NULL)
color_image=DestroyImage(color_image);
if (color_image_info != (Image *) NULL)
if (color_image_info != (ImageInfo *) NULL)
color_image_info=DestroyImageInfo(color_image_info);
ThrowReaderException(CorruptImageError,"CorruptImage");
}
Expand Down

0 comments on commit 982d89a

Please sign in to comment.