From a6725d9e37f128a4e4127f6a5032d928d3e9b2ce Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 7 Apr 2004 22:02:34 +0000 Subject: Fixed memory leaks --- lib/execute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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; -- cgit v1.2.3