Bläddra i källkod

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

git-svn-id: trunk@36504 -
Károly Balogh 8 år sedan
förälder
incheckning
f6af4ab25f
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      rtl/atari/dos.pp

+ 1 - 0
rtl/atari/dos.pp

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