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