remove useless test

Change-Id: I1b31842ddf719ddcc185a5d6a5032a20d5e593e2
This commit is contained in:
Pascal Massimino 2011-11-01 05:18:46 -07:00
parent b8634f7d8f
commit f6a7d75885

View File

@ -358,7 +358,7 @@ static int ReadPNG(FILE* in_file, WebPPicture* const pic, int keep_alpha) {
if (setjmp(png_jmpbuf(png))) { if (setjmp(png_jmpbuf(png))) {
Error: Error:
png_destroy_read_struct(&png, NULL, NULL); png_destroy_read_struct(&png, NULL, NULL);
if (rgb) free(rgb); free(rgb);
goto End; goto End;
} }