diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 7c4a4b960b9..2b7d2e93cf1 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -73,7 +73,6 @@ union_mount(mp, td) struct vnode *upperrootvp = NULLVP; struct union_mount *um = 0; struct vattr va; - struct ucred *cred = 0; char *cp = 0, *target; int op; int len; @@ -312,8 +311,6 @@ bad: /* XXX other fields */ free(um, M_UNIONFSMNT); } - if (cred) - crfree(cred); if (upperrootvp) vrele(upperrootvp); if (lowerrootvp)