The eet_data_read() api creates the structure by referencing the wwt data structure
and reading from eet file. So the structure should be deleted by the user of the function.
As eet_data_read() api documentation dosen't specify about the ownership I guess
we need to free this structure to avoid memory leak.
Change-Id: I0a9341d046d2a2b46cb920cfbe3e6588259f5cea
{
*error = EVAS_LOAD_ERROR_NONE;
}
- return vg_common_svg_create_vg_node(node);
+ Vg_File_Data *vg_data = vg_common_svg_create_vg_node(node);
+ vg_common_svg_node_free(node);
+ return vg_data;
}
static Eina_Bool