plan9port

[fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port # fast
git clone https://src.adamsgaard.dk/plan9port.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 300f21776e3a2f4df97d66e13d46032e17ab5015
parent e6594f1a04b2b1f3d0c0e5653c27b5de789c522b
Author: rsc <devnull@localhost>
Date:   Sun, 22 Apr 2007 13:55:47 +0000

freepart on readbloom failure

Diffstat:
Msrc/cmd/venti/srv/config.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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; }