The branch stable/12 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=e1901de87bd9112d0f5e4b9bef9d5fa27db2e341
commit e1901de87bd9112d0f5e4b9bef9d5fa27db2e341 Author: Kristof Provost <[email protected]> AuthorDate: 2021-08-22 14:20:15 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2021-09-06 08:06:41 +0000 libpfctl: fix double free Reviewed by: donner MFC after: 1 week Sponsored by: Modirum MDPay Differential Revision: https://reviews.freebsd.org/D31695 (cherry picked from commit b0ccc2e277acddd33c65b444e7841b780b3094d7) --- lib/libpfctl/libpfctl.c | 1 - 1 file changed, 1 deletion(-) 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); } _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
