venti: fix double free on corrupt bloom filter
This commit is contained in:
parent
952f137f04
commit
25a4e89fa9
1 changed files with 0 additions and 1 deletions
|
|
@ -53,7 +53,6 @@ readbloom(Part *p)
|
||||||
*/
|
*/
|
||||||
if(bloominit(b, 0, buf) < 0){
|
if(bloominit(b, 0, buf) < 0){
|
||||||
vtfree(b);
|
vtfree(b);
|
||||||
freepart(p);
|
|
||||||
return nil;
|
return nil;
|
||||||
}else{
|
}else{
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue