From b9ed408ffc0401e23dfd98b843dd4ae4313c0255 Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 17 Dec 2015 07:19:27 +0100 Subject: [PATCH] Fixed another leak. --- coders/psd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/psd.c b/coders/psd.c index 731ae1bcf..c2a9804d1 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -2000,6 +2000,7 @@ static Image *ReadPSDImage(const ImageInfo *image_info,ExceptionInfo *exception) if (status != MagickTrue) { (void) CloseBlob(image); + image=DestroyImageList(image); return((Image *) NULL); } } -- 2.40.0