[Commits] [SCM] claws branch, master, updated. 3.14.1-134-gc5b631c

wwp at claws-mail.org wwp at claws-mail.org
Mon Jan 16 10:33:56 CET 2017


The branch, master has been updated
       via  c5b631cdb8e99c246c99c653e57f89a95e722e58 (commit)
      from  56a59eb0338866210734c132044b7906976bd983 (commit)

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


- Log -----------------------------------------------------------------
commit c5b631cdb8e99c246c99c653e57f89a95e722e58
Author: wwp <wwp at free.fr>
Date:   Mon Jan 16 10:33:05 2017 +0100

    Fix big leaks (thanks to valgrind) in filtering/matching by headers,
    saved (lots of) megabytes here.

diff --git a/src/matcher.c b/src/matcher.c
index 83047c0..0b56382 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -1503,8 +1503,10 @@ static gboolean matcherlist_match_headers(MatcherList *matchers, FILE *fp)
 				} else {
 					/* further call to matcherprop_match_one_header() can't match
 					   and it irrelevant, so: don't alter the match result */
+					procheader_header_free(header);
 					continue;
 				}
+				procheader_header_free(header);
 			}
 
 			/* ZERO line must NOT match for the rule to match.

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list