summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/evas/vg_loaders/eet/evas_vg_load_eet.c4
1 files changed, 4 insertions, 0 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 3455f2a2b1..fdc8eb6d22 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
@@ -44,7 +44,11 @@ evas_vg_load_file_open_eet(Eina_File *file, const char *key, int *error EINA_UNU
44static Eina_Bool 44static Eina_Bool
45evas_vg_load_file_close_eet(Vg_File_Data *vfd) 45evas_vg_load_file_close_eet(Vg_File_Data *vfd)
46{ 46{
47 if (!vfd) return EINA_FALSE;
48
47 if (vfd->root) efl_unref(vfd->root); 49 if (vfd->root) efl_unref(vfd->root);
50 free(vfd);
51
48 return EINA_TRUE; 52 return EINA_TRUE;
49} 53}
50 54