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.
parent a27a8068
......@@ -2299,6 +2299,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment