cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=49fbdcf17a1efae6f58f924890c34ad82830aac7
commit 49fbdcf17a1efae6f58f924890c34ad82830aac7 Author: Cedric BAIL <ced...@osg.samsung.com> Date: Tue Apr 3 14:25:20 2018 -0700 evas: vg loader actually should hold a ref when no parent is given. --- src/static_libs/vg_common/vg_common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/static_libs/vg_common/vg_common.c b/src/static_libs/vg_common/vg_common.c index b3afb7dd9b..b6be7297f4 100644 --- a/src/static_libs/vg_common/vg_common.c +++ b/src/static_libs/vg_common/vg_common.c @@ -762,7 +762,10 @@ vg_common_create_vg_node_helper(Svg_Node *node, Efl_VG *parent, Vg_File_Data *vg case SVG_NODE_DOC: case SVG_NODE_G: { - vg = evas_vg_container_add(parent); + if (!parent) + vg = efl_add_ref(EFL_CANVAS_VG_CONTAINER_CLASS, NULL); + else + vg = efl_add(EFL_CANVAS_VG_CONTAINER_CLASS, parent); _apply_vg_property(node, vg, vg_data); EINA_LIST_FOREACH(node->child, l, child) { --