[gimp/gimp-2-10] libgimpbase: don't leak GPConfig::icon_theme_dir



commit 4d542a4ba83cb673a4df0529fc7c528508c86c48
Author: Ell <ell_se yahoo com>
Date:   Mon Nov 19 16:31:04 2018 -0500

    libgimpbase: don't leak GPConfig::icon_theme_dir
    
    (cherry picked from commit 9afa42ab9134757169247fbee762cd8545d2ceaf)

 libgimpbase/gimpprotocol.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgimpbase/gimpprotocol.c b/libgimpbase/gimpprotocol.c
index 48a520daca..9142c70869 100644
--- a/libgimpbase/gimpprotocol.c
+++ b/libgimpbase/gimpprotocol.c
@@ -669,6 +669,7 @@ _gp_config_destroy (GimpWireMessage *msg)
       g_free (config->app_name);
       g_free (config->wm_class);
       g_free (config->display_name);
+      g_free (config->icon_theme_dir);
       g_slice_free (GPConfig, config);
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]