forked from enlightenment/efl
evas vg: clean up dangling instances
unref containers when file is closed. @fix
This commit is contained in:
parent
10427694d9
commit
3e5a28325e
|
@ -42,8 +42,9 @@ evas_vg_load_file_open_eet(Eina_File *file, const char *key, int *error EINA_UNU
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
evas_vg_load_file_close_eet(Vg_File_Data *vfd EINA_UNUSED)
|
||||
evas_vg_load_file_close_eet(Vg_File_Data *vfd)
|
||||
{
|
||||
if (vfd->root) efl_unref(vfd->root);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue