libnv: fix revert
Reported by: jenkins
This commit is contained in:
parent
d97753b5c8
commit
3bea7b5b05
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344236
@ -229,8 +229,8 @@ nvpair_remove_nvlist_array(nvpair_t *nvp)
|
||||
nvlarray = __DECONST(nvlist_t **,
|
||||
nvpair_get_nvlist_array(nvp, &count));
|
||||
for (i = 0; i < count; i++) {
|
||||
nvlist_set_array_next(nvl, NULL);
|
||||
nvlist_set_parent(nvl, NULL);
|
||||
nvlist_set_array_next(nvlarray[i], NULL);
|
||||
nvlist_set_parent(nvlarray[i], NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user