forked from enlightenment/efl
edje - edje_edit - don't access collection after it is freed
should fix CID 1137855
This commit is contained in:
parent
6d5058ee1c
commit
ee8bfeb458
|
@ -1076,8 +1076,8 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name)
|
||||||
ed->file->collection_cache =
|
ed->file->collection_cache =
|
||||||
eina_list_remove_list(ed->file->collection_cache, l);
|
eina_list_remove_list(ed->file->collection_cache, l);
|
||||||
e_del = eina_hash_find(ed->file->collection, g->part);
|
e_del = eina_hash_find(ed->file->collection, g->part);
|
||||||
_edje_collection_free(ed->file, g, e_del);
|
|
||||||
eina_hash_del(ed->file->collection, g->part, e_del);
|
eina_hash_del(ed->file->collection, g->part, e_del);
|
||||||
|
_edje_collection_free(ed->file, g, e_del);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue