[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-349-g4dc91617c

paul at claws-mail.org paul at claws-mail.org
Mon Nov 1 10:40:17 CET 2021


The branch, gtk3 has been updated
       via  4dc91617c4114b78825c51069c923d410b9dc16b (commit)
      from  f958752b2977e2ed0d43dc9766dd74f69e8fff18 (commit)

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


- Log -----------------------------------------------------------------
commit 4dc91617c4114b78825c51069c923d410b9dc16b
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 31362ecff..e8d915398 100644
--- a/src/prefs_matcher.c
+++ b/src/prefs_matcher.c
@@ -1496,7 +1496,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;
 
@@ -1687,7 +1687,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