From fe3a57e5b12c38f455ae6dd3bb47dc7cb054cc43 Mon Sep 17 00:00:00 2001 From: dirk Date: Fri, 18 Dec 2015 21:33:46 +0100 Subject: [PATCH] Fixed another leak/bug. --- coders/psd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coders/psd.c b/coders/psd.c index c2a9804d1..907e45dd5 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -1183,8 +1183,9 @@ static MagickBooleanType ReadPSDChannel(Image *image,const PSDInfo *psd_info, switch(compression) { case Raw: - return(ReadPSDChannelRaw(channel_image,psd_info->channels, - layer_info->channel_info[channel].type,exception)); + status=ReadPSDChannelRaw(channel_image,psd_info->channels, + layer_info->channel_info[channel].type,exception); + break; case RLE: { MagickOffsetType -- 2.40.0