[Commits] [SCM] claws branch, gtk3tree, updated. 4.0.0-402-gd02ea2c20

paul at claws-mail.org paul at claws-mail.org
Wed Nov 3 11:33:56 UTC 2021


The branch, gtk3tree has been updated
       via  d02ea2c207e41a46791e211cb975fd6434e3f220 (commit)
      from  dcd71353695b7a5b0b451deb725e51370895b544 (commit)

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


- Log -----------------------------------------------------------------
commit d02ea2c207e41a46791e211cb975fd6434e3f220
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