atari: if FindFirst fails, always call FindClose, just in case

git-svn-id: trunk@36504 -
This commit is contained in:
Károly Balogh 2017-06-15 12:46:15 +00:00
parent a635f435b9
commit f6af4ab25f

View File

@ -216,6 +216,7 @@ begin
if dosResult < 0 then
begin
Error2DosError(dosResult);
FindClose(f);
exit;
end;