Explorar o código

* fixed memory leaks when ending a macro

git-svn-id: branches/jvmbackend@18599 -
Jonas Maebe %!s(int64=14) %!d(string=hai) anos
pai
achega
4c6388df6f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;