From a35627628c9955dd4043ef14f097709f4e02259f Mon Sep 17 00:00:00 2001 From: svenbarth Date: Tue, 24 May 2016 14:32:04 +0000 Subject: [PATCH] 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 - --- compiler/fmodule.pas | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/fmodule.pas b/compiler/fmodule.pas index 900443f201..687318736d 100644 --- a/compiler/fmodule.pas +++ b/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;