evas vg: clean up dangling instances

unref containers when file is closed.

@fix
This commit is contained in:
Hermet Park 2020-05-26 18:37:41 +09:00
parent 3ec1101652
commit 9fbdb02240
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}