summaryrefslogtreecommitdiff
path: root/src/lib/eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-07 09:51:09 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 09:57:05 +0900
commit76bc13530a7e6b8725b036a5ab76f890499ef0d6 (patch)
tree9199a9585d16627e07f33dc2b445f2b8d278eb12 /src/lib/eo
parenta73e4c7c80cc149e5b3eb5211060010b1626b462 (diff)
eo: Add class name to error log (unref)
Diffstat (limited to 'src/lib/eo')
-rw-r--r--src/lib/eo/eo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 489d042253..b1e56481ea 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1838,7 +1838,8 @@ efl_unref(const Eo *obj_id)
1838 { 1838 {
1839 if (obj->user_refcount < 0) 1839 if (obj->user_refcount < 0)
1840 { 1840 {
1841 ERR("Obj:%p. User refcount (%d) < 0. Too many unrefs.", obj, obj->user_refcount); 1841 ERR("Obj:%s@%p. User refcount (%d) < 0. Too many unrefs.",
1842 obj->klass->desc->name, obj_id, obj->user_refcount);
1842 _eo_log_obj_report((Eo_Id)obj_id, EINA_LOG_LEVEL_ERR, __FUNCTION__, __FILE__, __LINE__); 1843 _eo_log_obj_report((Eo_Id)obj_id, EINA_LOG_LEVEL_ERR, __FUNCTION__, __FILE__, __LINE__);
1843 EO_OBJ_DONE(obj_id); 1844 EO_OBJ_DONE(obj_id);
1844 return; 1845 return;