K 10 svn:author V 2 kp K 8 svn:date V 27 2021-06-03T13:41:38.175696Z K 7 svn:log V 575 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 4483fb47735c29408c72045469c9c4b3e549668b Reviewed by: scottl MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30492 (cherry picked from commit 6dbb729d35d59cc8bc8451bd56f220f9c35a43f3) Git Hash: a75154a11586361c2564b020819e6f7971cf4e1f Git Author: kp@FreeBSD.org END