* only free the llvm shadow symtable when the original symtable will

also be freed

git-svn-id: trunk@33989 -
This commit is contained in:
Jonas Maebe 2016-06-15 18:31:47 +00:00
parent 8ca9ece66a
commit 4121facc7a

View File

@ -1082,7 +1082,8 @@ implementation
destructor tabstractrecordsymtable.destroy;
begin
{$ifdef llvm}
fllvmst.free;
if refcount=1 then
fllvmst.free;
{$endif llvm}
inherited destroy;
end;