[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-227-gec8d3625b

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


The branch, gtk3 has been updated
       via  ec8d3625b668c4288310196108bcc37a40f2c889 (commit)
      from  5168c2ab52b68a7265cb85c46480cfa8a18a23e3 (commit)

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


- Log -----------------------------------------------------------------
commit ec8d3625b668c4288310196108bcc37a40f2c889
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 79f861e0a..f5dc326cf 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -1455,7 +1455,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);
 	
@@ -1464,6 +1464,8 @@ static gboolean prefs_filtering_check_mod(gboolean check_changed_list)
 					 _("The list of filtering rules have been modified. Close anyway?"),
 					 _("_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