[Commits] [SCM] claws branch, master, updated. 3.18.0-239-gd0f60a36f

wwp at claws-mail.org wwp at claws-mail.org
Mon Oct 4 18:18:35 CEST 2021


The branch, master has been updated
       via  d0f60a36f0c5af50e6a7d6a0be5bec1f9bf4956a (commit)
      from  29d534e1a5fbc41c3f28ddaa63f238ed8232efb0 (commit)

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


- Log -----------------------------------------------------------------
commit d0f60a36f0c5af50e6a7d6a0be5bec1f9bf4956a
Author: wwp <subscript at free.fr>
Date:   Mon Oct 4 18:18:09 2021 +0200

    Fix CID 1491217: resource leak (2/2).

diff --git a/src/filtering.c b/src/filtering.c
index d5ee27da0..46cfd238b 100644
--- a/src/filtering.c
+++ b/src/filtering.c
@@ -953,9 +953,11 @@ gchar *filteringaction_to_string(FilteringAction *action)
 
 	command_str = get_matchparser_tab_str(action->type);
 
-	if (command_str == NULL)
+	if (command_str == NULL) {
+		g_string_free(dest, TRUE);
 		return NULL;
-
+	}
+    
 	switch(action->type) {
 	case MATCHACTION_MOVE:
 	case MATCHACTION_COPY:

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list