forked from enlightenment/efl
edje_pick: Fix use after free
Fixes CID 1267458 (trying again)
This commit is contained in:
parent
d2dd1e744a
commit
82f546fc1f
|
@ -1474,12 +1474,12 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
free(edc);
|
free(edc);
|
||||||
_edje_cache_file_unref(edf);
|
|
||||||
edje_cache_emp_free(ce);
|
edje_cache_emp_free(ce);
|
||||||
eet_close(ef);
|
eet_close(ef);
|
||||||
}
|
}
|
||||||
|
|
||||||
_edje_pick_images_copy(edf, out_file); /* Add Images to imagelist */
|
_edje_pick_images_copy(edf, out_file); /* Add Images to imagelist */
|
||||||
|
_edje_cache_file_unref(edf);
|
||||||
|
|
||||||
/* We SKIP writing source, just can't compose it */
|
/* We SKIP writing source, just can't compose it */
|
||||||
/* FIXME: use Edje_Edit code to generate source */
|
/* FIXME: use Edje_Edit code to generate source */
|
||||||
|
|
Loading…
Reference in New Issue