Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/1601
  • Loading branch information
Cristy committed Jun 18, 2019
1 parent 1e59b29 commit 7d11230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/ps.c
Expand Up @@ -749,6 +749,7 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
{
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
"InvalidGeometry","`%s'",option);
geometry=DestroyString(geometry);
image=DestroyImage(image);
return((Image *) NULL);
}
Expand Down

0 comments on commit 7d11230

Please sign in to comment.