summaryrefslogtreecommitdiff
path: root/lib/libpfctl
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-08-22 14:20:15 +0000
committerKristof Provost <kp@FreeBSD.org>2021-09-06 08:06:29 +0000
commit6f85e21674a15174be96de95275dd36b61a404dc (patch)
tree96e07040377769b611ead74e46af19de0de83a0d /lib/libpfctl
parent09cad040dc81d292d264c0709df2a0d84f90e69d (diff)
Diffstat (limited to 'lib/libpfctl')
-rw-r--r--lib/libpfctl/libpfctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c
index 7f1e72513018..7e6bc1b14a2a 100644
--- a/lib/libpfctl/libpfctl.c
+++ b/lib/libpfctl/libpfctl.c
@@ -860,7 +860,6 @@ pfctl_get_syncookies(int dev, struct pfctl_syncookies *s)
nvl = nvlist_unpack(nv.data, nv.len, 0);
free(nv.data);
if (nvl == NULL) {
- free(nv.data);
return (EIO);
}