Evas: Fix double fclose() in WebP loader

This commit is contained in:
Igor Murzov 2013-04-14 00:06:54 +04:00
parent 1373f0ba4a
commit 32f27fee7e
1 changed files with 1 additions and 1 deletions

View File

@ -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);