aboutsummaryrefslogtreecommitdiff
path: root/src/libdiskfs
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-28 03:06:40 +0000
committerrsc <devnull@localhost>2006-04-28 03:06:40 +0000
commit5e084a4a46035dd9877cf3892c20c6e603a70d35 (patch)
tree02acc5c72c1742de46e90f1058e77cf3196dc210 /src/libdiskfs
parentfa07e3d777fc52a7c564f71c9b7f2bba1d0e7716 (diff)
downloadplan9port-5e084a4a46035dd9877cf3892c20c6e603a70d35.tar.gz
plan9port-5e084a4a46035dd9877cf3892c20c6e603a70d35.tar.bz2
plan9port-5e084a4a46035dd9877cf3892c20c6e603a70d35.zip
double free
Diffstat (limited to 'src/libdiskfs')
-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;