mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libnv: fix revert
Reported by: jenkins
This commit is contained in:
parent
d97753b5c8
commit
3bea7b5b05
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue