pager - fix asan report on use after free on gadget shutdown

This commit is contained in:
Carsten Haitzler 2021-04-16 15:53:02 +01:00
parent d96c75b8d5
commit d277df0a51
1 changed files with 1 additions and 1 deletions

View File

@ -305,12 +305,12 @@ _gc_shutdown(E_Gadcon_Client *gcc)
if (pager_config)
instances = eina_list_remove(instances, inst);
e_drop_handler_del(inst->pager->drop_handler);
_pager_free(inst->pager);
if (inst->o_base)
{
evas_object_del(inst->o_base);
inst->o_base = NULL;
}
_pager_free(inst->pager);
free(inst);
}