mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Always dsgone() slices when we leave.
This commit is contained in:
parent
d1b44182d0
commit
b71daf5456
1 changed files with 2 additions and 3 deletions
|
|
@ -596,9 +596,8 @@ vnclear(struct vn_softc *vn)
|
|||
vn->sc_vp = (struct vnode *)0;
|
||||
vn->sc_cred = (struct ucred *)0;
|
||||
vn->sc_size = 0;
|
||||
IFOPT(vn, VN_LABELS)
|
||||
if (vn->sc_slices != NULL)
|
||||
dsgone(&vn->sc_slices);
|
||||
if (vn->sc_slices != NULL)
|
||||
dsgone(&vn->sc_slices);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue