summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 87657ab..a1f8780 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -369,6 +369,9 @@ iso_mountfs(devvp, mp)
pribp->b_flags |= B_AGE;
brelse(pribp);
pribp = NULL;
+ rootp = NULL;
+ pri = NULL;
+ pri_sierra = NULL;
mp->mnt_data = isomp;
mp->mnt_stat.f_fsid.val[0] = dev2udev(dev);
@@ -411,6 +414,7 @@ iso_mountfs(devvp, mp)
bp->b_flags |= B_AGE;
brelse(bp);
bp = NULL;
+ rootp = NULL;
}
if (isomp->im_flags & ISOFSMNT_KICONV && cd9660_iconv) {
@@ -465,6 +469,7 @@ iso_mountfs(devvp, mp)
if (supbp) {
brelse(supbp);
supbp = NULL;
+ sup = NULL;
}
return 0;
OpenPOWER on IntegriCloud