about summary refs log tree commit diff
path: root/Src/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/math.c')
-rw-r--r--Src/math.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Src/math.c b/Src/math.c
index 9bdb2fb42..d9855f1ba 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -852,6 +852,7 @@ mathevall(char *s, int prek, char **ep)
     struct mathvalue *xstack = 0, nstack[STACKSZ];
     mnumber ret;
 
+    MUSTUSEHEAP("mathevall");
     if (mlevel++) {
 	xlastbase = lastbase;
 	xnoeval = noeval;
@@ -874,9 +875,7 @@ mathevall(char *s, int prek, char **ep)
     ptr = s;
     sp = -1;
     unary = 1;
-    HEAPALLOC {
-	mathparse(prek);
-    } LASTALLOC;
+    mathparse(prek);
     *ep = ptr;
     DPUTS(!errflag && sp,
 	  "BUG: math: wallabies roaming too freely in outback");