ref: e81148096520ebbbcbc0b449184a2c9d62869883
parent: 1edcad42b69b0deddf8befff489682cf94c2376d
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Oct 26 17:45:07 EDT 2023
dump: don't leak blocks in dumping
--- a/dump.c
+++ b/dump.c
@@ -500,6 +500,7 @@
for(p = b->data; p != e; p += 8)
fprint(fd, "\tdead: %llx\n", UNPACK64(p));
hd = b->deadp;
+ dropblk(b);
}
}
btexit(&fs->snap, &s);