mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 21:39:34 +02:00
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 -
This commit is contained in:
parent
a1e5c122f2
commit
a35627628c
@ -1051,10 +1051,6 @@ implementation
|
|||||||
macrosymtablestack.free;
|
macrosymtablestack.free;
|
||||||
macrosymtablestack:=nil;
|
macrosymtablestack:=nil;
|
||||||
end;
|
end;
|
||||||
extendeddefs.free;
|
|
||||||
extendeddefs:=nil;
|
|
||||||
genericdummysyms.free;
|
|
||||||
genericdummysyms:=nil;
|
|
||||||
waitingforunit.free;
|
waitingforunit.free;
|
||||||
waitingforunit:=nil;
|
waitingforunit:=nil;
|
||||||
localmacrosymtable.free;
|
localmacrosymtable.free;
|
||||||
|
Loading…
Reference in New Issue
Block a user