HomeFreeBSD

libpfctl: handle pfctl_do_ioctl() failures better

Description

libpfctl: handle pfctl_do_ioctl() failures better

Ensure that we free nvlists and other allocations if pfctl_do_ioctl()
fails.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 498934c5ff51e6b0d3199db5d27ed11b1e8b9582)

Details

Provenance
kpAuthored on Nov 17 2023, 9:19 AM
Parents
rG8423bf2a9e60: libpfctl: handle allocation failure
Branches
Unknown
Tags
Unknown