talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit c5b631cdb8e99c246c99c653e57f89a95e722e58
parent 56a59eb0338866210734c132044b7906976bd983
Author: wwp <wwp@free.fr>
Date:   Mon, 16 Jan 2017 10:33:05 +0100

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

Diffstat:
Msrc/matcher.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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.