From: Mike Blumenkrantz Date: Wed, 17 Jan 2018 22:33:57 +0000 (-0500) Subject: Revert "efl wl - fix segv where garbage ptr to comp surface is still there" X-Git-Tag: upstream/1.21.0~2239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2858185f2559c57276ab07769fe53fe3c504273f;p=platform%2Fupstream%2Fefl.git Revert "efl wl - fix segv where garbage ptr to comp surface is still there" This reverts commit 574ef9a5e53ac2ecabc14fd02be7e55cd90a9b25. this should be resolved by 863a6e159e99c5f69ecc7461106aba2102f1da11 and is only a possible case when an unmapped surface was activated, something which is prevented by spec and can only occur if bugs exist elsewhere --- diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 3234921..12b2fa8 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -2390,9 +2390,6 @@ 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);