Преглед изворни кода

* Reset F to NIL after freeing in tempclose

git-svn-id: trunk@17683 -
pierre пре 14 година
родитељ
комит
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;