summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/execute.c b/lib/execute.c
index 195d783..0662849 100644
--- a/lib/execute.c
+++ b/lib/execute.c
@@ -1706,6 +1706,9 @@ cleanup:
if(vmStack)
free(vmStack);
+ if(text)
+ free(text);
+
while(stackVars)
{
memory* prev = stackVars->prev;