diff options
author | rsc <devnull@localhost> | 2007-04-22 13:55:47 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-22 13:55:47 +0000 |
commit | 300f21776e3a2f4df97d66e13d46032e17ab5015 (patch) | |
tree | 587504ea33ab6ba31ab123a8aa4819511d9d4df4 /src | |
parent | e6594f1a04b2b1f3d0c0e5653c27b5de789c522b (diff) | |
download | plan9port-300f21776e3a2f4df97d66e13d46032e17ab5015.tar.gz plan9port-300f21776e3a2f4df97d66e13d46032e17ab5015.tar.bz2 plan9port-300f21776e3a2f4df97d66e13d46032e17ab5015.zip |
freepart on readbloom failure
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/venti/srv/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/config.c b/src/cmd/venti/srv/config.c index e6232d53..209f5cda 100644 --- a/src/cmd/venti/srv/config.c +++ b/src/cmd/venti/srv/config.c @@ -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; } |