tventi: fix double free on corrupt bloom filter - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 25a4e89fa907ed5a5f5d84eccfb66180007d9c68
DIR parent 952f137f04a7e93519415ac47bafe1b404f2ca47
HTML Author: Russ Cox <rsc@swtch.com>
Date: Tue, 25 Sep 2007 09:46:52 -0400
venti: fix double free on corrupt bloom filter
Diffstat:
M src/cmd/venti/srv/bloom.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/src/cmd/venti/srv/bloom.c b/src/cmd/venti/srv/bloom.c
t@@ -53,7 +53,6 @@ readbloom(Part *p)
*/
if(bloominit(b, 0, buf) < 0){
vtfree(b);
- freepart(p);
return nil;
}else{
/*