venti: fix double free on corrupt bloom filter
This commit is contained in:
parent
952f137f04
commit
25a4e89fa9
@ -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…
Reference in New Issue
Block a user