[gimp] app: free mypaint_brush_path, mypaint_brush_path_writable and…



commit 38a0b7611cd79e6ccd0555ec7a9d3c0deeee28bd
Author: Jehan <jehan girinstud io>
Date:   Sun Aug 22 12:10:11 2021 +0200

    app: free mypaint_brush_path, mypaint_brush_path_writable and…
    
    … default_mypaint_brush in gimp_core_config_finalize().
    
    As reported by Massimo.

 app/config/gimpcoreconfig.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/app/config/gimpcoreconfig.c b/app/config/gimpcoreconfig.c
index ce88c6f95e..e7ac85e050 100644
--- a/app/config/gimpcoreconfig.c
+++ b/app/config/gimpcoreconfig.c
@@ -877,6 +877,8 @@ gimp_core_config_finalize (GObject *object)
   g_free (core_config->brush_path_writable);
   g_free (core_config->dynamics_path);
   g_free (core_config->dynamics_path_writable);
+  g_free (core_config->mypaint_brush_path);
+  g_free (core_config->mypaint_brush_path_writable);
   g_free (core_config->pattern_path);
   g_free (core_config->pattern_path_writable);
   g_free (core_config->palette_path);
@@ -889,6 +891,7 @@ gimp_core_config_finalize (GObject *object)
   g_free (core_config->font_path_writable);
   g_free (core_config->default_brush);
   g_free (core_config->default_dynamics);
+  g_free (core_config->default_mypaint_brush);
   g_free (core_config->default_pattern);
   g_free (core_config->default_palette);
   g_free (core_config->default_gradient);


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