pf: fix memory leak retrieving Ethernet rules
authorKristof Provost <kp@FreeBSD.org>
Tue, 27 Sep 2022 13:27:47 +0000 (15:27 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 27 Sep 2022 13:28:37 +0000 (15:28 +0200)
commit0044bd90f2397dfad5f4bbd12c64be86e0b7eb4a
treed2acb0b93b24658afa9db10de53de630726febbf
parente437991fc9361bce1b7dca999dbe3769321f01da
pf: fix memory leak retrieving Ethernet rules

Remember to free the nvlist we've added to our main nvlist.

Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/netpfil/pf/pf_nv.c