raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4d8920df0644293214259ae5a66cc91026e98106

commit 4d8920df0644293214259ae5a66cc91026e98106
Author: Seunghun Lee <[email protected]>
Date:   Thu Apr 3 19:23:57 2014 +0900

    fix crash when access pager_config which is null.
    
    Summary:
    crash was happend when user do logout the enlightenment with pager16.
    pager_config was freed in e_modapi_shutdown(),
    but after that, there was accessing pager_config again in _gc_shutdown() by 
called gadman_shutdown().
    
    Reviewers: zmike, raster, cedric, seoz
    
    CC: cedric
    
    Differential Revision: https://phab.enlightenment.org/D694
---
 src/modules/pager16/e_mod_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/pager16/e_mod_main.c b/src/modules/pager16/e_mod_main.c
index 6662500..205c3e2 100644
--- a/src/modules/pager16/e_mod_main.c
+++ b/src/modules/pager16/e_mod_main.c
@@ -244,7 +244,8 @@ _gc_shutdown(E_Gadcon_Client *gcc)
    Instance *inst;
 
    inst = gcc->data;
-   pager_config->instances = eina_list_remove(pager_config->instances, inst);
+   if (pager_config)
+     pager_config->instances = eina_list_remove(pager_config->instances, inst);
    e_drop_handler_del(inst->pager->drop_handler);
    _pager_free(inst->pager);
    free(inst);

-- 


Reply via email to