summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-16 14:50:31 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-16 17:49:52 +0900
commit574ef9a5e53ac2ecabc14fd02be7e55cd90a9b25 (patch)
treeb832fe8ad60dc22d124ed9dd1fb93e3f866e4467 /src/lib/efl_wl
parent07e7bbd4b5cc17bbf8c1e48e500396e66f98120e (diff)
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.
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 28a0814710..40667cabf9 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2321,6 +2321,9 @@ comp_surface_smart_del(Evas_Object *obj)
2321{ 2321{
2322 Comp_Surface *cs = evas_object_smart_data_get(obj); 2322 Comp_Surface *cs = evas_object_smart_data_get(obj);
2323 2323
2324 if ((cs->c) && (cs->c->active_surface == cs))
2325 cs->c->active_surface = NULL;
2326
2324 array_clear(&cs->input_rects); 2327 array_clear(&cs->input_rects);
2325 array_clear(&cs->opaque_rects); 2328 array_clear(&cs->opaque_rects);
2326 eina_tiler_free(cs->opaque); 2329 eina_tiler_free(cs->opaque);