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:
41d92d0
)
Eo: Print an ERR when deleting an object with data refs.
author
Tom Hacohen
<tom@stosb.com>
Thu, 18 Feb 2016 15:53:40 +0000
(15:53 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Thu, 18 Feb 2016 15:59:36 +0000
(15:59 +0000)
src/lib/eo/eo_private.h
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_private.h
b/src/lib/eo/eo_private.h
index
869745c
..
f3ec7db
100644
(file)
--- a/
src/lib/eo/eo_private.h
+++ b/
src/lib/eo/eo_private.h
@@
-245,12
+245,11
@@
_eo_free(_Eo_Object *obj)
{
_Eo_Class *klass = (_Eo_Class*) obj->klass;
-#ifdef EO_DEBUG
if (obj->datarefcount)
{
ERR("Object %p data still referenced %d time(s).", obj, obj->datarefcount);
}
-#endif
+
_eo_id_release((Eo_Id) _eo_id_get(obj));
eina_spinlock_take(&klass->objects.trash_lock);