evas - set clipees list to NULL on free to avoid access

This commit is contained in:
Carsten Haitzler 2013-12-30 15:54:21 +09:00
parent 7a46449191
commit cfbc99c174
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ evas_object_free(Evas_Object *eo_obj, int clean_layer)
}
if (!was_smart_child) evas_object_release(eo_obj, obj, obj->clean_layer);
if (obj->clip.clipees)
eina_list_free(obj->clip.clipees);
obj->clip.clipees = eina_list_free(obj->clip.clipees);
obj->clip.cache_clipees_answer = eina_list_free(obj->clip.cache_clipees_answer);
evas_object_clip_changes_clean(eo_obj);
evas_object_event_callback_all_del(eo_obj);