From: dirk Date: Fri, 18 Dec 2015 20:33:46 +0000 (+0100) Subject: Fixed another leak/bug. X-Git-Tag: 7.0.1-0~433 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe3a57e5b12c38f455ae6dd3bb47dc7cb054cc43;p=imagemagick Fixed another leak/bug. --- 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