freebsd-dev/sys/contrib/libnv
Mariusz Zaborski 1b55032939 Fix nvlist array memory leak.
When we change nvl_array_next to NULL it means that we want to destroy or
take nvlist_array. The nvpair, which stores next nvlist of nvlist_array element
is no longer needed and can be freed.

Submitted by:	Adam Starak <starak.adam@gmail.com>
MFC after:	1 week
2016-07-17 15:36:02 +00:00
..
dnvlist.c
nv_impl.h Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
nvlist_impl.h Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
nvlist.c Fix nvlist array memory leak. 2016-07-17 15:36:02 +00:00
nvpair_impl.h Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
nvpair.c Fix memory leak in the nvlist string array. 2016-07-17 15:29:31 +00:00