aboutsummaryrefslogtreecommitdiff
path: root/contrib/atf/atf-c++/check.cpp
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2026-10-28 10:35:57 +0000
committerKristof Provost <kp@FreeBSD.org>2026-10-30 12:21:11 +0000
commit2e9ac12e97939d536c02877a41807dee05717ea5 (patch)
tree2f96d2ef10245f73fadec40a3b220a61279e15b5 /contrib/atf/atf-c++/check.cpp
parent9e7d55570f6993ba4092ce7919a0a731c7f8e734 (diff)
pf: fix pf_krule_item memory leak during counters:match_failHEADmain
If pf_counters_inc() did not increment the counters because the rule failed to apply it potentially failed to free match rules (which were not bound to a state already). Do so. While here explicitly hand match_rules over from the pf_test_ctx to the state so we never list them in two places. Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'contrib/atf/atf-c++/check.cpp')
0 files changed, 0 insertions, 0 deletions