[Commits] [SCM] claws branch, master, updated. 3.18.0-273-g621550bd6

paul at claws-mail.org paul at claws-mail.org
Mon Nov 1 10:41:24 UTC 2021


The branch, master has been updated
       via  621550bd6414994882bfe3dafd314556f911aac6 (commit)
      from  438b3955a3e6c0c5fa53c1d29a015e8d622fb214 (commit)

Summary of changes:
 src/prefs_matcher.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 621550bd6414994882bfe3dafd314556f911aac6
Author: paul <paul at claws-mail.org>
Date:   Mon Nov 1 10:40:13 2021 +0000

    fix g_free()

diff --git a/src/prefs_matcher.c b/src/prefs_matcher.c
index 1e8dc7df0..0c3e11b64 100644
--- a/src/prefs_matcher.c
+++ b/src/prefs_matcher.c
@@ -1500,7 +1500,7 @@ static MatcherProp *prefs_matcher_dialog_to_matcher(void)
 	gboolean case_sensitive;
 	const gchar *header;
 	const gchar *expr;
-    gboolean expr_to_free = FALSE;
+    	gboolean expr_to_free = FALSE;
 	gint value, sel;
 	gint year, month, day, hour, minute;
 
@@ -1692,7 +1692,7 @@ static MatcherProp *prefs_matcher_dialog_to_matcher(void)
 				      expr, value);
 
 	if (expr_to_free)
-		g_free(expr);
+		g_free((gchar *)expr);
 
 	return matcherprop;
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list