K 10 svn:author V 2 kp K 8 svn:date V 27 2021-06-04T09:48:55.703041Z K 7 svn:log V 654 pf: Fix more ioctl memory leaks We must also remember to free nvlists added to a parent nvlist with nvlist_append_nvlist_array(). More importantly, when nvlist_pack() allocates memory for us it does so in the M_NVLIST zone, so we must free it with free(.., M_NVLIST). Using free(.., M_TEMP) as we did silently failed to free the memory. MFC after: 3 days Reported by: kib@ Tested by: kib@ Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30595 (cherry picked from commit 0f86492b09ca82042166a41f6f21b2dbe4f4a464) Git Hash: 1d89dba26b9557543e728a1e1bdab9702cc88ac3 Git Author: kp@FreeBSD.org END