Browse Source

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 9 years ago
parent
commit
a35627628c
1 changed files with 0 additions and 4 deletions
  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;