From 025cebf76f6d9366695ff76cd959140c9c0385c7 Mon Sep 17 00:00:00 2001 From: Jehan Date: Fri, 20 Aug 2021 21:53:41 +0200 Subject: [PATCH] app: free an unusing allocated string when not used as a result. Another leak reported by Massimo. --- app/propgui/gimppropgui-eval.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/propgui/gimppropgui-eval.c b/app/propgui/gimppropgui-eval.c index 719e500866..548bc1adc8 100644 --- a/app/propgui/gimppropgui-eval.c +++ b/app/propgui/gimppropgui-eval.c @@ -730,6 +730,10 @@ gimp_prop_eval_string_selection (GObject *config, match = TRUE; result = value; } + else + { + g_free (value); + } if (! g_strcmp0 (*t, ",")) {