mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 13:10:32 +02:00
* fix memleak with top_local
This commit is contained in:
parent
96f3186e09
commit
a627c15298
@ -1617,17 +1617,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
for i:=0 to opercnt-1 do
|
for i:=0 to opercnt-1 do
|
||||||
begin
|
begin
|
||||||
with oper[i]^ do
|
clearop(i);
|
||||||
begin
|
|
||||||
case typ of
|
|
||||||
top_ref:
|
|
||||||
dispose(ref);
|
|
||||||
{$ifdef ARM}
|
|
||||||
top_shifterop:
|
|
||||||
dispose(shifterop);
|
|
||||||
{$endif ARM}
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
dispose(oper[i]);
|
dispose(oper[i]);
|
||||||
end;
|
end;
|
||||||
inherited destroy;
|
inherited destroy;
|
||||||
@ -2002,7 +1992,10 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.77 2004-03-14 20:10:56 peter
|
Revision 1.78 2004-03-14 22:47:56 peter
|
||||||
|
* fix memleak with top_local
|
||||||
|
|
||||||
|
Revision 1.77 2004/03/14 20:10:56 peter
|
||||||
* disable some debuginfo info when valgrind support is used
|
* disable some debuginfo info when valgrind support is used
|
||||||
|
|
||||||
Revision 1.76 2004/03/02 17:32:12 florian
|
Revision 1.76 2004/03/02 17:32:12 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user