Skip to content

Commit 35ccb46

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/1601
1 parent fe30661 commit 35ccb46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: coders/ps.c

+1
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
744744
{
745745
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
746746
"InvalidGeometry","`%s'",option);
747+
page_geometry=DestroyString(page_geometry);
747748
image=DestroyImage(image);
748749
return((Image *) NULL);
749750
}

0 commit comments

Comments
 (0)