tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1f576da49e662a563d16ea4915e485516aa2b4ee

commit 1f576da49e662a563d16ea4915e485516aa2b4ee
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Feb 18 19:28:41 2016 +0000

    Revert "Eo: Print an ERR when deleting an object with data refs."
    
    Revert this in the meanwhile. See discussion on the ML. This should be
    enabled though, and issues fixed.
    
    This reverts commit ec2f92e35f5a0836933d82b6b7f518a1d7550afc.
---
 src/lib/eo/eo_private.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/eo/eo_private.h b/src/lib/eo/eo_private.h
index f3ec7db..869745c 100644
--- a/src/lib/eo/eo_private.h
+++ b/src/lib/eo/eo_private.h
@@ -245,11 +245,12 @@ _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);

-- 


Reply via email to