Browse Source

* fixed memory leaks when ending a macro

git-svn-id: branches/jvmbackend@18599 -
Jonas Maebe 14 years ago
parent
commit
4c6388df6f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/finput.pas

+ 2 - 0
compiler/finput.pas

@@ -284,6 +284,8 @@ uses
               Freemem(buf,maxbufsize);
               buf:=nil;
             end;
+           stringdispose(name);
+           stringdispose(path);
            closed:=true;
            exit;
          end;