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