freepart on readbloom failure
This commit is contained in:
parent
e6594f1a04
commit
300f21776e
@ -238,8 +238,10 @@ configbloom(char *file)
|
||||
if(part == nil)
|
||||
return nil;
|
||||
b = readbloom(part);
|
||||
if(b == nil)
|
||||
if(b == nil){
|
||||
werrstr("%s: %r", file);
|
||||
freepart(part);
|
||||
}
|
||||
return b;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user