summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_idle_enterer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_idle_enterer.c b/src/lib/ecore/ecore_idle_enterer.c
index cc07fb0eb1..64956ad7b7 100644
--- a/src/lib/ecore/ecore_idle_enterer.c
+++ b/src/lib/ecore/ecore_idle_enterer.c
@@ -175,8 +175,7 @@ _ecore_idle_enterer_del(Ecore_Idle_Enterer *obj)
175{ 175{
176 Ecore_Idle_Enterer_Private_Data *idle_enterer = eo_data_get(obj, MY_CLASS); 176 Ecore_Idle_Enterer_Private_Data *idle_enterer = eo_data_get(obj, MY_CLASS);
177 177
178 /* Double free case */ 178 if (!idle_enterer) return NULL;
179 EINA_SAFETY_ON_NULL_RETURN_VAL(idle_enterer, NULL);
180 EINA_SAFETY_ON_TRUE_RETURN_VAL(idle_enterer->delete_me, NULL); 179 EINA_SAFETY_ON_TRUE_RETURN_VAL(idle_enterer->delete_me, NULL);
181 idle_enterer->delete_me = 1; 180 idle_enterer->delete_me = 1;
182 idle_enterers_delete_me = 1; 181 idle_enterers_delete_me = 1;