Page MenuHomeFreeBSD

libpfctl: Improve error handling in pfctl_get_states()
ClosedPublic

Authored by kp on May 27 2021, 9:48 AM.

Details

Summary

Ensure that we always free nvlists and other allocated memory.

MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.