forked from enlightenment/efl
efl wl - fix segv where garbage ptr to comp surface is still there
comp surface destruction doesnt clear the pointer to one in the comp struct that then is garbage later. fix.
This commit is contained in:
parent
07e7bbd4b5
commit
574ef9a5e5
|
@ -2321,6 +2321,9 @@ comp_surface_smart_del(Evas_Object *obj)
|
|||
{
|
||||
Comp_Surface *cs = evas_object_smart_data_get(obj);
|
||||
|
||||
if ((cs->c) && (cs->c->active_surface == cs))
|
||||
cs->c->active_surface = NULL;
|
||||
|
||||
array_clear(&cs->input_rects);
|
||||
array_clear(&cs->opaque_rects);
|
||||
eina_tiler_free(cs->opaque);
|
||||
|
|
Loading…
Reference in New Issue