summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghee Choi <joi.choi@samsung.com>2016-03-04 15:33:49 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2016-03-04 15:34:56 +0900
commitc289109903dfdca9e9ed787a98daf48d2a314ac1 (patch)
tree188176c072a8991fabff4d14d5c32467df484ae1
parentfb5228b4d2ba01cb2683298069744b7940c70a47 (diff)
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.c2
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)
189 189
190 /* _elm_module_unload(); could access m->api and try to free(); */ 190 /* _elm_module_unload(); could access m->api and try to free(); */
191 ELM_SAFE_FREE(m->api, free); 191 ELM_SAFE_FREE(m->api, free);
192 m->api = NULL;
193 mapi = NULL;
192} 194}
193 195
194static Elm_Access_Item * 196static Elm_Access_Item *