summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
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
commit9ae36cf79154a8dd87ae1d05b2e2c5f7a4c3d56a (patch)
tree2b373a228c8683726b47d1ff3f8734cd7f9eb7c4 /legacy/elementary/src/lib/elm_access.c
parent4232af03bcf12f0d61efc1eeb6a94250a52cd720 (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
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index b238537..9e31ba7 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/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 *