diff options
author | Mykyta Biliavskyi <m.biliavskyi@samsung.net> | 2015-01-20 12:55:14 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-01-20 12:55:17 +0100 |
commit | a695eee37b622425e4d130afead9265404fbc286 (patch) | |
tree | dd218448a8a431fcdd8367d2a452a5a384406fb3 /src/bin/edje | |
parent | 205430ceb4cea6a21e0d5775796ff90d7ebf29c3 (diff) |
edje: edje_pick - fix double free eina hash iterator.
Summary:
move freeing iterator into block where it was created.
@fix
Reviewers: raster, Hermet, reutskiy.v.v, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1883
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/edje')
-rw-r--r-- | src/bin/edje/edje_pick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c index f2d967d50b..a05171de3a 100644 --- a/src/bin/edje/edje_pick.c +++ b/src/bin/edje/edje_pick.c | |||
@@ -619,8 +619,8 @@ _edje_pick_header_make(Edje_File *out_file , Edje_File *edf, Eina_List *ifs) | |||
619 | ce = eina_hash_find(out_file->collection, ce_cor->entry); | 619 | ce = eina_hash_find(out_file->collection, ce_cor->entry); |
620 | ce_cor = eina_hash_find(out_file->collection, name1); | 620 | ce_cor = eina_hash_find(out_file->collection, name1); |
621 | ce_cor->id = ce->id; | 621 | ce_cor->id = ce->id; |
622 | eina_iterator_free(i); | ||
622 | } | 623 | } |
623 | eina_iterator_free(i); | ||
624 | EINA_LIST_FREE(alist, name1) | 624 | EINA_LIST_FREE(alist, name1) |
625 | eina_stringshare_del(name1); | 625 | eina_stringshare_del(name1); |
626 | } | 626 | } |