Skip to content

Commit

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

0 comments on commit 35ccb46

Please sign in to comment.