summaryrefslogtreecommitdiff
path: root/lib/execute.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-04-07 22:02:34 +0000
committerStef Walter <stef@thewalter.net>2004-04-07 22:02:34 +0000
commita6725d9e37f128a4e4127f6a5032d928d3e9b2ce (patch)
tree1a604df069bad39f310f3d7f03e762779dbc4af8 /lib/execute.c
parent12f359d812dcf7ccbff057f192f49402750375d7 (diff)
Fixed memory leaks
Diffstat (limited to 'lib/execute.c')
-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;