mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 07:28:26 +02:00
* findclose must always be called (also when findfirst didn't find
anything) git-svn-id: trunk@5570 -
This commit is contained in:
parent
32e06e7a7a
commit
2f8c34a537
@ -159,8 +159,8 @@ implementation
|
||||
DirectoryEntries.Add(Dir.Name,Pointer(Ptrint(Dir.Attr)));
|
||||
end;
|
||||
until findnext(dir) <> 0;
|
||||
findclose(dir);
|
||||
end;
|
||||
findclose(dir);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user