discomfitor pushed a commit to branch enlightenment-0.20.

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

commit b36e68bcef31d107ed64cf25f8b5e01e1a9b24a9
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 c77f3b4..011d6ea 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