From: Shinwoo Kim Date: Thu, 9 May 2013 09:12:07 +0000 (+0900) Subject: [access] set a module api to NULL in shutdown(); X-Git-Tag: accepted/tizen/20130927.071315^2~467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23fe272e2a143412e0be517e47e2ca3ae18f5419;p=profile%2Fmobile%2Felementary.git [access] set a module api to NULL in shutdown(); Change-Id: Ia9322eb4da59ba301f7c9b95430971360e738306 --- diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index 2c24932..008c2da 100644 --- 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; }