summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <chuneon.park@samsung.com>2020-05-26 18:37:41 +0900
committerHermet Park <chuneon.park@samsung.com>2020-05-26 18:39:09 +0900
commit354c9f50b050982d8dab51be66099557d7e2601c (patch)
tree268d1efc6616b00ffb33db43a239919f6bda81e5
parente15a142e268bbd01c56a2718af074ab39ed792b7 (diff)
evas vg: clean up dangling instances
unref containers when file is closed. @fix
-rw-r--r--src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c b/src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c
index 8d04aec0f1..3455f2a2b1 100644
--- a/src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c
+++ b/src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c
@@ -42,8 +42,9 @@ evas_vg_load_file_open_eet(Eina_File *file, const char *key, int *error EINA_UNU
42} 42}
43 43
44static Eina_Bool 44static Eina_Bool
45evas_vg_load_file_close_eet(Vg_File_Data *vfd EINA_UNUSED) 45evas_vg_load_file_close_eet(Vg_File_Data *vfd)
46{ 46{
47 if (vfd->root) efl_unref(vfd->root);
47 return EINA_TRUE; 48 return EINA_TRUE;
48} 49}
49 50