efl_canvas_vg svg: free the svg tree returned by eet_data_read() 30/210830/1
authorSubhransuSekhar Mohanty <sub.mohanty@samsung.com>
Thu, 25 Jul 2019 06:17:05 +0000 (15:17 +0900)
committerHermet Park <hermetpark@gmail.com>
Thu, 25 Jul 2019 06:20:41 +0000 (15:20 +0900)
commite05798bfe08d4192b7e0ec5fd3af42422eb71937
treee1d265311739e254a17fac1df86b5370bf42e672
parent9beb3527cf521e717257c925a49cde2d76523994
efl_canvas_vg svg: free the svg tree returned by eet_data_read()

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
src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c