mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 08:27:17 +01:00
* only free the llvm shadow symtable when the original symtable will
also be freed git-svn-id: trunk@33989 -
This commit is contained in:
parent
8ca9ece66a
commit
4121facc7a
@ -1082,7 +1082,8 @@ implementation
|
|||||||
destructor tabstractrecordsymtable.destroy;
|
destructor tabstractrecordsymtable.destroy;
|
||||||
begin
|
begin
|
||||||
{$ifdef llvm}
|
{$ifdef llvm}
|
||||||
fllvmst.free;
|
if refcount=1 then
|
||||||
|
fllvmst.free;
|
||||||
{$endif llvm}
|
{$endif llvm}
|
||||||
inherited destroy;
|
inherited destroy;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user