mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:59:08 +02:00
* fixed memory leak in case one tai operand is replaced by another
git-svn-id: trunk@30424 -
This commit is contained in:
parent
3279cc052a
commit
ee7198aa57
@ -299,8 +299,7 @@ uses
|
|||||||
allocate_oper(opidx+1);
|
allocate_oper(opidx+1);
|
||||||
with oper[opidx]^ do
|
with oper[opidx]^ do
|
||||||
begin
|
begin
|
||||||
if typ<>top_tai then
|
clearop(opidx);
|
||||||
clearop(opidx);
|
|
||||||
ai:=_ai;
|
ai:=_ai;
|
||||||
typ:=top_tai;
|
typ:=top_tai;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user