aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libdiskfs/ffs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libdiskfs/ffs.c b/src/libdiskfs/ffs.c
index 099c7bbd..ceb6052d 100644
--- a/src/libdiskfs/ffs.c
+++ b/src/libdiskfs/ffs.c
@@ -107,6 +107,7 @@ ffssync(Fsys *fsys)
if((fs->ufs = checkfsblk(fsblk)) > 0)
goto okay;
blockput(b);
+ b = nil;
}
goto error;