From a1bf513920e813037756e01cc2e01770befea77c Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Mon, 19 Mar 2018 16:08:10 -0700 Subject: [PATCH] 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); } }