Переглянути джерело

* fixed memory leaks when ending a macro

git-svn-id: branches/jvmbackend@18599 -
Jonas Maebe 14 роки тому
батько
коміт
4c6388df6f
1 змінених файлів з 2 додано та 0 видалено
  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;