kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=c289109903dfdca9e9ed787a98daf48d2a314ac1

commit c289109903dfdca9e9ed787a98daf48d2a314ac1
Author: Jonghee Choi <joi.c...@samsung.com>
Date:   Fri Mar 4 15:33:49 2016 +0900

    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
---
 src/lib/elm_access.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c
index b238537..9e31ba7 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -189,6 +189,8 @@ _access_shutdown(void)
 
    /* _elm_module_unload(); could access m->api and try to free(); */
    ELM_SAFE_FREE(m->api, free);
+   m->api = NULL;
+   mapi = NULL;
 }
 
 static Elm_Access_Item *

-- 


Reply via email to