From 4c6388df6fca8e0e388c032b295891e15fa6e2fc Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 20 Aug 2011 08:14:00 +0000 Subject: [PATCH] * fixed memory leaks when ending a macro git-svn-id: branches/jvmbackend@18599 - --- compiler/finput.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/finput.pas b/compiler/finput.pas index 1bfd39e18e..99f60cf60f 100644 --- a/compiler/finput.pas +++ b/compiler/finput.pas @@ -284,6 +284,8 @@ uses Freemem(buf,maxbufsize); buf:=nil; end; + stringdispose(name); + stringdispose(path); closed:=true; exit; end;