HomeFreeBSD

libpfctl: allow pfctl_free_status(NULL)

Description

libpfctl: allow pfctl_free_status(NULL)

Mimic free() and friends, and allow free()ing of NULL.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41648

Details

Provenance
kpAuthored on Aug 29 2023, 3:02 PM
Differential Revision
D41648: libpfctl: allow pfctl_free_status(NULL)
Parents
rGddd08375c855: pf (t)ftp-proxy: use libpfctl instead of DIOCGETSTATUS
Branches
Unknown
Tags
Unknown