Skip to content

Commit 7d11230

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/1601
1 parent 1e59b29 commit 7d11230

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
@@ -749,6 +749,7 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
749749
{
750750
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
751751
"InvalidGeometry","`%s'",option);
752+
geometry=DestroyString(geometry);
752753
image=DestroyImage(image);
753754
return((Image *) NULL);
754755
}

0 commit comments

Comments
 (0)