cedric pushed a commit to branch master.

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

commit 0ee28f12e188a9f8a73a3c6e857e6ec0812667ae
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Wed Aug 19 20:21:41 2015 +0200

    evas: be more pedantic in case of error in Evas_VG_Node.
---
 src/lib/evas/canvas/evas_vg_node.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_vg_node.c 
b/src/lib/evas/canvas/evas_vg_node.c
index 775c688..b1c8cbb 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -301,7 +301,10 @@ _efl_vg_base_eo_base_parent_set(Eo *obj,
      }
 
    if (!_efl_vg_base_parent_checked_get(obj, &old_parent, &old_cd))
-     goto on_error;
+     {
+        ERR("Can't check the old parent of %p.", obj);
+        goto on_error;
+     }
 
    // FIXME: this may become slow with to much object
    if (old_cd)

-- 


Reply via email to