Browse Source

* fix possible use of invalid tai after an ait_cutobject

git-svn-id: trunk@4482 -
peter 19 years ago
parent
commit
f668e4f012
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/i386/ag386nsm.pas

+ 1 - 1
compiler/i386/ag386nsm.pas

@@ -744,7 +744,7 @@ interface
                   hp:=tai(hp.next);
                   hp:=tai(hp.next);
                 end;
                 end;
                if lasTSectype<>sec_none then
                if lasTSectype<>sec_none then
-                 WriteSection(tai_section(hp).sectype,tai_section(hp).name^);
+                 WriteSection(lasTSectype,'');
                AsmStartSize:=AsmSize;
                AsmStartSize:=AsmSize;
              end;
              end;