summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-15 23:18:25 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-15 23:47:50 -0700
commitac7fed3ddfa3caf2e2c97f221e023b75ec9693ac (patch)
tree013426e9560ecd65287ba16adf5581c36a5eed91 /6/asm.h
parent8306e1f36b4b61619677f553319b7a82de2679a3 (diff)
downloadmc-ac7fed3ddfa3caf2e2c97f221e023b75ec9693ac.tar.gz
Remove a few leaks.
This isn't really important, but it also cuts memory usage from 60 to 15 megs.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/asm.h b/6/asm.h
index 2ada3c8..e7a801a 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -172,6 +172,7 @@ struct Isel {
size_t *gbits; /* igraph matrix repr */
regid **gadj; /* igraph adj set repr */
size_t *ngadj;
+ size_t nreg; /* maxregid at time of alloc */
int *degree; /* degree of nodes */
Loc **aliasmap; /* mapping of aliases */