Revert "static_libs/vg_common: Fix resource leak"
authorChristopher Michael <cp.michael@samsung.com>
Wed, 24 Apr 2019 13:35:30 +0000 (09:35 -0400)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Apr 2019 00:45:31 +0000 (09:45 +0900)
Revert this as it causes edje_cc to segfault.

This reverts commit 2a4c87bb1172f017523fdda0d1de9ca2cd0e0493.

src/static_libs/vg_common/vg_common_svg.c

index 87fb431..d14d9dd 100644 (file)
@@ -1052,8 +1052,6 @@ vg_common_create_svg_node_helper(Efl_VG *vg, Svg_Node *parent)
         memcpy(svg_node->node.command.points, points, sizeof (double) * points_count);
         _apply_svg_property(svg_node, vg);
      }
-
-   free(svg_node);
 }
 
 Svg_Node *