diff options
Diffstat (limited to 'sys/isofs/udf/udf_vfsops.c')
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index efd87e012f5..d30612c67db 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.20 2006/07/11 16:24:09 pedro Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.21 2006/07/11 22:02:08 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -432,6 +432,9 @@ udf_unmount(struct mount *mp, int mntflags, struct proc *p) devvp->v_specmountpoint = NULL; vrele(devvp); + if (ump->um_flags & UDF_MNT_USES_VAT) + free(ump->um_vat, M_UDFMOUNT); + if (ump->um_stbl != NULL) free(ump->um_stbl, M_UDFMOUNT); |