]> granicus.if.org Git - imagemagick/commitdiff
Fixed another leak/bug.
authordirk <dirk@git.imagemagick.org>
Fri, 18 Dec 2015 20:33:46 +0000 (21:33 +0100)
committerdirk <dirk@git.imagemagick.org>
Fri, 18 Dec 2015 20:34:04 +0000 (21:34 +0100)
coders/psd.c

index c2a9804d1089c6a0a2533dc4d3903cacbf2fc3a9..907e45dd5cbeea7a844d32609bd4c52c92ae527e 100644 (file)
@@ -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