freebsd-dev/lib/libpfctl
Kristof Provost 6dbb729d35 libpfctl: fix memory leak
When we create an nvlist and insert it into another nvlist we must
remember to destroy it. The nvlist_add_nvlist() function makes a copy,
just like nvlist_add_string() makes a copy of the string.

See also 4483fb4773

Reviewed by:	scottl
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D30492
2021-05-31 14:18:32 +02:00
..
libpfctl.c libpfctl: fix memory leak 2021-05-31 14:18:32 +02:00
libpfctl.h pf: Track the original kif for floating states 2021-05-20 12:49:27 +02:00
Makefile libpfct: Fix PIC flag 2021-04-17 22:10:13 +02:00