mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libpfctl: fix double free
Reviewed by: donner MFC after: 1 week Sponsored by: Modirum MDPay Differential Revision: https://reviews.freebsd.org/D31695
This commit is contained in:
parent
2b10cf85f8
commit
b0ccc2e277
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue