diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/vac/file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/vac/file.c b/src/cmd/vac/file.c index d7ad2056..598dae09 100644 --- a/src/cmd/vac/file.c +++ b/src/cmd/vac/file.c @@ -598,11 +598,12 @@ vacfileblockscore(VacFile *f, u32int bn, u8int *score) dsize = s->dsize; size = vtfilegetsize(s); if((uvlong)bn*dsize >= size) - goto out; + goto out1; ret = vtfileblockscore(f->source, bn, score); -out: +out1: vtfileunlock(f->source); +out: filerunlock(f); return ret; } |