2
0
Эх сурвалжийг харах

* Reset F to NIL after freeing in tempclose

git-svn-id: trunk@17683 -
pierre 14 жил өмнө
parent
commit
09e9d922c7
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/ppu.pas

+ 1 - 0
compiler/ppu.pas

@@ -1181,6 +1181,7 @@ procedure tppufile.tempclose;
      begin
        closepos:=f.Position;
        f.Free;
+       f:=nil;
        closed:=true;
        tempclosed:=true;
      end;