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>
This commit is contained in:
Mykyta Biliavskyi 2015-01-20 12:55:14 +01:00 committed by Cedric BAIL
parent 205430ceb4
commit a695eee37b
1 changed files with 1 additions and 1 deletions

View File

@ -619,8 +619,8 @@ _edje_pick_header_make(Edje_File *out_file , Edje_File *edf, Eina_List *ifs)
ce = eina_hash_find(out_file->collection, ce_cor->entry);
ce_cor = eina_hash_find(out_file->collection, name1);
ce_cor->id = ce->id;
eina_iterator_free(i);
}
eina_iterator_free(i);
EINA_LIST_FREE(alist, name1)
eina_stringshare_del(name1);
}