aboutsummaryrefslogtreecommitdiff
path: root/lib/libpfctl
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-03-22 19:33:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-03-22 19:33:59 +0000
commit48c519be0e8005aedc817b1bc1101ad32b67a67a (patch)
tree0254ebe1f775c7b1bd2b25e7eb747ee286089dd4 /lib/libpfctl
parentf9c7fb7caed063757c7bb6a08cb5e81b2bbb5a6e (diff)
Diffstat (limited to 'lib/libpfctl')
-rw-r--r--lib/libpfctl/libpfctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c
index f95f79024bf5..f34f83cfb57c 100644
--- a/lib/libpfctl/libpfctl.c
+++ b/lib/libpfctl/libpfctl.c
@@ -1188,7 +1188,6 @@ static int
_pfctl_clear_states(int dev, const struct pfctl_kill *kill,
unsigned int *killed, uint64_t ioctlval)
{
- struct pfioc_nv nv;
nvlist_t *nvl;
int ret;
@@ -1211,7 +1210,6 @@ _pfctl_clear_states(int dev, const struct pfctl_kill *kill,
*killed = nvlist_get_number(nvl, "killed");
nvlist_destroy(nvl);
- free(nv.data);
return (ret);
}