Quellcode durchsuchen

Fix potential access violations when compiling units with helper types and/or generics

fmodule.pas, tmodule:
  * end_of_parsing: free neither extendeddefs nor genericdummysyms as both might be used by the def-aware symtablestack even after parsing the unit is done

git-svn-id: trunk@33780 -
svenbarth vor 9 Jahren
Ursprung
Commit
a35627628c
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0 4
      compiler/fmodule.pas

+ 0 - 4
compiler/fmodule.pas

@@ -1051,10 +1051,6 @@ implementation
             macrosymtablestack.free;
             macrosymtablestack:=nil;
           end;
-        extendeddefs.free;
-        extendeddefs:=nil;
-        genericdummysyms.free;
-        genericdummysyms:=nil;
         waitingforunit.free;
         waitingforunit:=nil;
         localmacrosymtable.free;