wp import dialog - fix string leak in error case

fix CID 1425206
This commit is contained in:
Carsten Haitzler 2020-04-19 00:11:56 +01:00
parent 4749e1e065
commit 65f9b94d2b
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ _import_cb_edje_cc_exit(void *data, EINA_UNUSED int type, void *event)
if (!p)
{
e_object_del(E_OBJECT(import));
free(newfile);
return ECORE_CALLBACK_DONE;
}
// strip out the .tmp. before the name