summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorShinwoo Kim <cinoo.kim@samsung.com>2013-07-05 19:02:57 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2013-07-05 19:04:36 +0900
commit0853e304e69d78aae5da0795a3eba03076ea4ecf (patch)
tree2014c527e99fa10c0f3b916a2db80a166b9f807a /legacy/elementary/src/lib/elm_access.c
parent43b4b6ce18926891a676ec0f44f36858d086b917 (diff)
[access] set a module api to NULL in shutdown(); because _elm_module_unload(); could access m->api and try to free();
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index 89d9471..7d88085 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -191,7 +191,8 @@ _access_shutdown(void)
191 191
192 initted = 0; 192 initted = 0;
193 193
194 ELM_SAFE_FREE(mapi, free); 194 /* _elm_module_unload(); could access m->api and try to free(); */
195 ELM_SAFE_FREE(m->api, free);
195} 196}
196 197
197static Elm_Access_Item * 198static Elm_Access_Item *