aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-09-25 09:46:52 -0400
committerRuss Cox <rsc@swtch.com>2007-09-25 09:46:52 -0400
commit25a4e89fa907ed5a5f5d84eccfb66180007d9c68 (patch)
treee59476054dc7f1ac734a694d97aeda2bab4b7dc7 /src
parent952f137f04a7e93519415ac47bafe1b404f2ca47 (diff)
downloadplan9port-25a4e89fa907ed5a5f5d84eccfb66180007d9c68.tar.gz
plan9port-25a4e89fa907ed5a5f5d84eccfb66180007d9c68.tar.bz2
plan9port-25a4e89fa907ed5a5f5d84eccfb66180007d9c68.zip
venti: fix double free on corrupt bloom filter
Diffstat (limited to 'src')
-rw-r--r--src/cmd/venti/srv/bloom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/bloom.c b/src/cmd/venti/srv/bloom.c
index 0710d362..f50c91ab 100644
--- a/src/cmd/venti/srv/bloom.c
+++ b/src/cmd/venti/srv/bloom.c
@@ -53,7 +53,6 @@ readbloom(Part *p)
*/
if(bloominit(b, 0, buf) < 0){
vtfree(b);
- freepart(p);
return nil;
}else{
/*