Explorar el Código

* added missing findclose in TCachedDirectory.Reload

git-svn-id: trunk@5568 -
Jonas Maebe hace 19 años
padre
commit
1f3dffbd1c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      compiler/cfileutils.pas

+ 1 - 0
compiler/cfileutils.pas

@@ -159,6 +159,7 @@ implementation
                     DirectoryEntries.Add(Dir.Name,Pointer(Ptrint(Dir.Attr)));
                 end;
             until findnext(dir) <> 0;
+            findclose(dir);
           end;
       end;