billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=42acb4b5d19109cbe70328da07262e6e84559105

commit 42acb4b5d19109cbe70328da07262e6e84559105
Author: Boris Faure <[email protected]>
Date:   Sun Jul 27 19:59:37 2014 +0200

    fix segfault
    
    due to invalid eina_stringshare_del() after pool is freed by
    elm_shutdown()
---
 src/bin/main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 74e570d..ac5effb 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -3223,11 +3223,12 @@ remote:
    eina_log_domain_unregister(_log_domain);
    _log_domain = -1;
 
-   elm_shutdown();
-
 #if HAVE_GETTEXT && ENABLE_NLS
    eina_stringshare_del(options.copyright);
 #endif
+
+   elm_shutdown();
+
    return retval;
 }
 ELM_MAIN()

-- 


Reply via email to