[access] set a module api to NULL in shutdown(); because _elm_module_unload(); could access m->api and try to free();

This commit is contained in:
Shinwoo Kim 2013-07-05 19:02:57 +09:00
parent 43b4b6ce18
commit 0853e304e6
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ _access_shutdown(void)
initted = 0;
ELM_SAFE_FREE(mapi, free);
/* _elm_module_unload(); could access m->api and try to free(); */
ELM_SAFE_FREE(m->api, free);
}
static Elm_Access_Item *