mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 11:10:23 +02:00
* don't release exceptsymtable for copied nodes
This commit is contained in:
parent
d765fe0c40
commit
474e1578a3
@ -1381,7 +1381,9 @@ implementation
|
|||||||
|
|
||||||
destructor tonnode.destroy;
|
destructor tonnode.destroy;
|
||||||
begin
|
begin
|
||||||
if assigned(exceptsymtable) then
|
{ copied nodes don't need to release the symtable }
|
||||||
|
if assigned(exceptsymtable) and
|
||||||
|
not(nf_copy in flags) then
|
||||||
exceptsymtable.free;
|
exceptsymtable.free;
|
||||||
inherited destroy;
|
inherited destroy;
|
||||||
end;
|
end;
|
||||||
@ -1470,7 +1472,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.87 2003-11-12 15:48:27 peter
|
Revision 1.88 2003-11-23 17:39:16 peter
|
||||||
|
* don't release exceptsymtable for copied nodes
|
||||||
|
|
||||||
|
Revision 1.87 2003/11/12 15:48:27 peter
|
||||||
* fix set_varstate in for loops
|
* fix set_varstate in for loops
|
||||||
* fix set_varstate from case statements
|
* fix set_varstate from case statements
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user