diff options
author | Stef Walter <stef@thewalter.net> | 2004-04-07 22:02:34 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-04-07 22:02:34 +0000 |
commit | a6725d9e37f128a4e4127f6a5032d928d3e9b2ce (patch) | |
tree | 1a604df069bad39f310f3d7f03e762779dbc4af8 /lib | |
parent | 12f359d812dcf7ccbff057f192f49402750375d7 (diff) |
Fixed memory leaks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/execute.c | 3 |
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; |