ref: 2b6667f4f7faef9954b5ed75881b1fe9225d9705
parent: 0e11d54089bc8514f7070a00bafd9e7b02dfbd80
author: Michael Forney <mforney@mforney.org>
date: Tue Feb 22 04:03:41 EST 2022
dump: add missing closesnap in showtree
--- a/dump.c
+++ b/dump.c
@@ -301,6 +301,8 @@
fprint(fd, "=== [%s] %B @%d\n", name, t->bp, t->ht);
rshowblk(fd, b, 0, 1);
putblk(b);
+ if(t != &fs->snap)
+ closesnap(t);
}
void