raster pushed a commit to branch master.

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

commit b5aa0310f9364858ebcee9b56120ceb5d5984d08
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Dec 10 08:06:21 2015 +0900

    e - fix leak added by previous fix for icon theme
    
    fixes leak added by a885c8c0402d142efce67fac8f57b8e019e57022
    
    though this is basically unlikely to happen and happens likely just
    once for an app... so not a big deal
    
    @fix
---
 src/bin/e_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index 7e30bc0..a24f448 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -75,7 +75,7 @@ _e_config_cb_efreet_cache_update(void *data EINA_UNUSED, int 
type EINA_UNUSED, v
           {
              if (!efreet_icon_theme_find(e_config->icon_theme))
                {
-                  e_config->icon_theme = eina_stringshare_add("hicolor");
+                  eina_stringshare_replace(&e_config->icon_theme, "hicolor");
                   e_config_save_queue();
                }
           }

-- 


Reply via email to