projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a59eb
)
Fix big leaks (thanks to valgrind) in filtering/matching by headers,
author
wwp
<wwp@free.fr>
Mon, 16 Jan 2017 09:33:05 +0000
(10:33 +0100)
committer
wwp
<wwp@free.fr>
Mon, 16 Jan 2017 09:33:05 +0000
(10:33 +0100)
saved (lots of) megabytes here.
src/matcher.c
patch
|
blob
|
history
diff --git
a/src/matcher.c
b/src/matcher.c
index 83047c06e8aec138673d1c26e978b890474b9f64..0b56382a81d51069010cc3e703679a8bd45e0d56 100644
(file)
--- 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.