mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
remove useless test
Change-Id: I1b31842ddf719ddcc185a5d6a5032a20d5e593e2
This commit is contained in:
parent
b8634f7d8f
commit
f6a7d75885
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user