forked from enlightenment/efl
Evas: Fix double fclose() in WebP loader
This commit is contained in:
parent
1373f0ba4a
commit
32f27fee7e
|
@ -104,7 +104,7 @@ evas_image_load_file_data_webp(Evas_Img_Load_Params *ilp, const char *file, cons
|
|||
{
|
||||
*error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
|
||||
free(data);
|
||||
goto close_file;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
// XXX: this copy of the surface is inefficient
|
||||
memcpy(ilp->buffer, decoded, width * height * 4);
|
||||
|
|
Loading…
Reference in New Issue