summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-07-13 15:34:37 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-07-13 15:35:17 -0700
commit7d9f1dbfd3a2b74f0d90b0139eb4836324f35765 (patch)
treec1eff458d4977aa22f0d92db39fbcf4982c81444 /src
parent77adf813d5cf75ac4ffbf5a715d11f5b4f9ae10e (diff)
ecore_evas: protect against application holding a reference on the canvas while destroying the ecore_evas.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 43560bae0f..a9657add9c 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3296,6 +3296,8 @@ _ecore_evas_free(Ecore_Evas *ee)
3296 ee->engine.func->fn_animator_unregister(ee); 3296 ee->engine.func->fn_animator_unregister(ee);
3297 if (_general_tick == ee) _ecore_evas_tick_source_find(); 3297 if (_general_tick == ee) _ecore_evas_tick_source_find();
3298 } 3298 }
3299
3300 efl_event_callback_array_del(ee->evas, animator_watch(), ee);
3299 if (ee->anim) 3301 if (ee->anim)
3300 ecore_animator_del(ee->anim); 3302 ecore_animator_del(ee->anim);
3301 ee->anim = NULL; 3303 ee->anim = NULL;