[Commits] [SCM] claws branch, master, updated. 3.18.0-169-gfa5ad28e7

wwp at claws-mail.org wwp at claws-mail.org
Sun Sep 26 21:11:50 CEST 2021


The branch, master has been updated
       via  fa5ad28e7bdb9bb254254480dad839fe73313d99 (commit)
      from  dd81ff3c8150617dd58a6fd3207c1be86c9077c5 (commit)

Summary of changes:
 src/prefs_filtering.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit fa5ad28e7bdb9bb254254480dad839fe73313d99
Author: wwp <subscript at free.fr>
Date:   Sun Sep 26 21:11:34 2021 +0200

    Fix CID 1491095: resource leak.

diff --git a/src/prefs_filtering.c b/src/prefs_filtering.c
index 05a693c66..3d8c2b31f 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -1474,7 +1474,7 @@ static gboolean prefs_filtering_check_mod(gboolean check_changed_list)
 	gchar * str;
 	gchar * filtering_str;
 	gint row = 1;
-        AlertValue val;
+	AlertValue val;
 	
 	prop = prefs_filtering_dialog_to_filtering(FALSE);
 	
@@ -1483,6 +1483,8 @@ static gboolean prefs_filtering_check_mod(gboolean check_changed_list)
 					 _("The list of filtering rules have been modified. Close anyway?"),
 					 GTK_STOCK_CLOSE, _("_Continue editing"), NULL,
 					 ALERTFOCUS_SECOND) != G_ALERTDEFAULT) {
+			if (prop != NULL)
+				filteringprop_free(prop);
 			return TRUE;
 		}
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list