ref: dc6dce6c9a255ba6a5c587798295374e5a4e2ac4
parent: 0e935a843b889d13cc2b98a7ac82de4ed1689bfb
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Mar 9 20:50:44 EST 2024
snap: btexit in all the necessary places
--- a/snap.c
+++ b/snap.c
@@ -258,6 +258,7 @@
else
freedl(&dl, 1);
}
+ btexit(&s);
if(succ != -1){
pfx[0] = Kdlist;
PACK64(pfx+1, succ);
@@ -267,12 +268,11 @@
if(!btnext(&s, &s.kv))
break;
kv2dlist(&s.kv, &dl);
-
if(dl.bgen > prev)
freedl(&dl, 1);
}
+ btexit(&s);
}
- btexit(&s);
}
/*