elm_access: mapi have to be set NULL after free(m->api)

Summary: mapi have to be set NULL after free(m->api)

Reviewers: kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D3756
This commit is contained in:
Jonghee Choi 2016-03-04 15:33:49 +09:00 committed by Shinwoo Kim
parent 4232af03bc
commit 9ae36cf791
1 changed files with 2 additions and 0 deletions

View File

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