Browse Source

* added missing findclose in TCachedDirectory.Reload

git-svn-id: trunk@5568 -
Jonas Maebe 18 years ago
parent
commit
1f3dffbd1c
1 changed files with 1 additions and 0 deletions
  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;