forked from enlightenment/efl
elm_module.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended. For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
This commit is contained in:
parent
e5e105342f
commit
14a50de4d1
|
@ -218,11 +218,7 @@ _elm_module_unload(Elm_Module *m)
|
|||
eina_stringshare_del(m->so_path);
|
||||
eina_stringshare_del(m->data_dir);
|
||||
eina_stringshare_del(m->bin_dir);
|
||||
if (m->api)
|
||||
{
|
||||
free(m->api);
|
||||
m->api = NULL;
|
||||
}
|
||||
ELM_SAFE_FREE(m->api, free);
|
||||
if (m->module)
|
||||
{
|
||||
if (m->shutdown_func) m->shutdown_func(m);
|
||||
|
|
Loading…
Reference in New Issue