projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39d743
)
ecore: in case of double free, bad things happen.
author
Cedric BAIL
<cedric.bail@free.fr>
Mon, 3 Dec 2012 05:28:11 +0000
(
05:28
+0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Mon, 3 Dec 2012 05:28:11 +0000
(
05:28
+0000)
SVN revision: 80005
src/lib/ecore/ecore_idle_enterer.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_idle_enterer.c
b/src/lib/ecore/ecore_idle_enterer.c
index
e7d10e5
..
cc07fb0
100644
(file)
--- a/
src/lib/ecore/ecore_idle_enterer.c
+++ b/
src/lib/ecore/ecore_idle_enterer.c
@@
-175,6
+175,8
@@
_ecore_idle_enterer_del(Ecore_Idle_Enterer *obj)
{
Ecore_Idle_Enterer_Private_Data *idle_enterer = eo_data_get(obj, MY_CLASS);
+ /* Double free case */
+ EINA_SAFETY_ON_NULL_RETURN_VAL(idle_enterer, NULL);
EINA_SAFETY_ON_TRUE_RETURN_VAL(idle_enterer->delete_me, NULL);
idle_enterer->delete_me = 1;
idle_enterers_delete_me = 1;