HomeFreeBSD

Fix nvlist array memory leak.

Description

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

Details

Provenance
oshogboAuthored on
Parents
rS302965: Fix memory leak in the nvlist string array.
Branches
Unknown
Tags
Unknown