projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a68b6c
)
[access] set a module api to NULL in shutdown();
author
Shinwoo Kim
<cinoo.kim@samsung.com>
Thu, 9 May 2013 09:12:07 +0000
(18:12 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Mon, 27 May 2013 05:15:43 +0000
(14:15 +0900)
Change-Id: Ia9322eb4da59ba301f7c9b95430971360e738306
src/lib/elm_access.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_access.c
b/src/lib/elm_access.c
index
2c24932
..
008c2da
100644
(file)
--- a/
src/lib/elm_access.c
+++ b/
src/lib/elm_access.c
@@
-204,7
+204,9
@@
_access_shutdown(void)
initted = 0;
- free(mapi);
+ /* FIXME: _elm_module_unload(); could access m->api and try to free(); */
+ free(m->api);
+ m->api = NULL;
mapi = NULL;
}