summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_idle_enterer.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-12-03 07:26:47 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-12-03 07:26:47 +0000
commite1fa3ea931d541b5176e733ec4de91761d023e33 (patch)
tree400acc5279da40397a1a1d911d47924062fc0c14 /src/lib/ecore/ecore_idle_enterer.c
parent55527a851f564026dc1178cb8503ba84d8bfd9a5 (diff)
ecore: backport #79650
SVN revision: 80015
Diffstat (limited to 'src/lib/ecore/ecore_idle_enterer.c')
-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 cc07fb0..64956ad7 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;