Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Nov 24, 2017
1 parent 8f5fc37 commit a7024c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/psd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ static MagickBooleanType ReadPSDChannelZip(Image *image,const size_t channels,
pixels=(unsigned char *) RelinquishMagickMemory(pixels);
return(MagickFalse);
}
if (code == Z_STREAM_END)
if (ret == Z_STREAM_END)
break;
}
(void) inflateEnd(&stream);
Expand Down

0 comments on commit a7024c8

Please sign in to comment.