diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 17:33:57 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 17:33:23 -0500 |
commit | 4d32334f210dff40a03845bec9cb6d431fb526f5 (patch) | |
tree | 7bdf52d67b14bfcea2f6867ea655c606f4318095 /src/lib/efl_wl | |
parent | b48781aa6c85c72f620c57cebff96580ddd67899 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 3234921c26..12b2fa81f6 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) | |||
2390 | { | 2390 | { |
2391 | Comp_Surface *cs = evas_object_smart_data_get(obj); | 2391 | Comp_Surface *cs = evas_object_smart_data_get(obj); |
2392 | 2392 | ||
2393 | if ((cs->c) && (cs->c->active_surface == cs)) | ||
2394 | cs->c->active_surface = NULL; | ||
2395 | |||
2396 | array_clear(&cs->input_rects); | 2393 | array_clear(&cs->input_rects); |
2397 | array_clear(&cs->opaque_rects); | 2394 | array_clear(&cs->opaque_rects); |
2398 | eina_tiler_free(cs->opaque); | 2395 | eina_tiler_free(cs->opaque); |