aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_pick.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c
index e6971b4c35..bc92297675 100644
--- a/src/bin/edje/edje_pick.c
+++ b/src/bin/edje/edje_pick.c
@@ -256,18 +256,18 @@ _edje_pick_cleanup(Eina_List *ifs, Edje_File *out_file, Edje_Pick_Status s)
if (p->edf)
_edje_cache_file_unref(p->edf);
- free(p);
- }
+ EINA_LIST_FREE(p->fontlist, ft)
+ {
+ Edje_Font *st = ft->f;
- EINA_LIST_FREE(p->fontlist, ft)
- {
- Edje_Font *st = ft->f;
+ eina_stringshare_del(st->name);
+ eina_stringshare_del(st->file);
+ free(ft->data);
+ free(st);
+ free(ft);
+ }
- eina_stringshare_del(st->name);
- eina_stringshare_del(st->file);
- free(ft->data);
- free(st);
- free(ft);
+ free(p);
}
switch (s)