Explorar el Código

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 hace 9 años
padre
commit
a35627628c
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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;