diff options
author | Jonghee Choi <joi.choi@samsung.com> | 2016-03-04 15:33:49 +0900 |
---|---|---|
committer | Shinwoo Kim <cinoo.kim@samsung.com> | 2016-03-04 15:34:56 +0900 |
commit | c289109903dfdca9e9ed787a98daf48d2a314ac1 (patch) | |
tree | 188176c072a8991fabff4d14d5c32467df484ae1 | |
parent | fb5228b4d2ba01cb2683298069744b7940c70a47 (diff) | |
download | elementary-c289109903dfdca9e9ed787a98daf48d2a314ac1.tar.gz |
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
-rw-r--r-- | src/lib/elm_access.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index b23853710..9e31ba757 100644 --- a/src/lib/elm_access.c +++ b/src/lib/elm_access.c @@ -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 * |