mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 09:30:21 +02:00
* ttypeconvnode.simplify, avoid a memory leak
git-svn-id: trunk@5551 -
This commit is contained in:
parent
b486f926ce
commit
9a90410081
@ -1786,9 +1786,11 @@ implementation
|
||||
end;
|
||||
if (result.nodetype = realconstn) then
|
||||
begin
|
||||
result:=crealconstnode.create(trealconstnode(result).value_real,resultdef);
|
||||
hp:=result;
|
||||
result:=crealconstnode.create(trealconstnode(hp).value_real,resultdef);
|
||||
if ([nf_explicit,nf_internal] * flags <> []) then
|
||||
include(result.flags, nf_explicit);
|
||||
hp.free;
|
||||
end;
|
||||
end;
|
||||
niln :
|
||||
|
Loading…
Reference in New Issue
Block a user