]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libnv: clean parent in nvlist_array when removing it.
authoroshogbo <oshogbo@FreeBSD.org>
Mon, 18 Jun 2018 22:21:28 +0000 (22:21 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Mon, 18 Jun 2018 22:21:28 +0000 (22:21 +0000)
commita829b238f8b7a9fb18aaace9ff97a97955aae89b
tree5853574fc93135610df95478b21ce14bd544ac6a
parent0838a645fc9a04a8a98c54df6b0220c4141641aa
libnv: clean parent in nvlist_array when removing it.

When we are removing element form the nvlist we should also clean parent,
because the array is not a part of the nvlist anymore.

Submitted by: Mindaugas Rasiukevicius <rmind@netbsd.org>
sys/contrib/libnv/nvpair.c