[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-299-gae0353bbf

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


The branch, gtk3 has been updated
       via  ae0353bbfb07942f82408c66c95f65d0f2adcf8a (commit)
      from  c7452669c0da537cb3382c9e55aae142d34d90c4 (commit)

Summary of changes:
 src/filtering.c | 3 +++
 1 file changed, 3 insertions(+)


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

    Fix CID 1491068 and 1491217: resource leaks.

diff --git a/src/filtering.c b/src/filtering.c
index 9e1d98158..d5ee27da0 100644
--- a/src/filtering.c
+++ b/src/filtering.c
@@ -540,6 +540,8 @@ static gboolean filteringaction_apply(FilteringAction * action, MsgInfo * info)
 			} else {
 				g_warning("header '%s' not set or empty", action->header?action->header:"(null)");
 			}
+			if (header)
+				procheader_header_free(header);
 			return (errors == 0);
 		}
 	default:
@@ -1008,6 +1010,7 @@ gchar *filteringaction_to_string(FilteringAction *action)
 		break;
 
 	default:
+		g_string_free(dest, TRUE);
 		return NULL;
 	}
 	deststr = dest->str;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list