summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-06 23:32:44 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-06 23:32:44 -0400
commit01c1734e42d49202aaa1362b18a428d0d7ae0c3f (patch)
treedf4a4e0707c8f9322e23785d9007e691822fa71e
parent72fc4559786dac5154ba344755758ba7a096be1b (diff)
downloadroux-01c1734e42d49202aaa1362b18a428d0d7ae0c3f.tar.gz
uh oh, typo bug in freeall()
-rw-r--r--lisc/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/util.c b/lisc/util.c
index 6f01e9e..9eeced7 100644
--- a/lisc/util.c
+++ b/lisc/util.c
@@ -68,7 +68,7 @@ freeall()
 	void **pp;
 
 	for (;;) {
-		for (pp = &pool[1]; pp < &pool[NPtr]; pp++)
+		for (pp = &pool[1]; pp < &pool[nptr]; pp++)
 			free(*pp);
 		pp = pool[0];
 		if (!pp)