cedric pushed a commit to branch master.

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

commit a1bf513920e813037756e01cc2e01770befea77c
Author: Cedric Bail <[email protected]>
Date:   Mon Mar 19 16:08:10 2018 -0700

    eo: start reporting abuse of efl_del
---
 src/lib/eo/eo_base_class.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 3840b18a52..2ed220a339 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -602,6 +602,7 @@ _efl_object_del(const Eo *obj, Efl_Object_Data *pd 
EINA_UNUSED)
      }
    else
      {
+        ERR("Calling efl_del on an object with no parent is not advised any 
more.");
         efl_unref(obj);
      }
 }

-- 


Reply via email to