mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:49:17 +02:00
* ref. counting for popping second exceptiono object fixed
This commit is contained in:
parent
5a8576ee81
commit
cd86e40cb7
@ -281,8 +281,11 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{ we need to return the exception object to dispose it }
|
if ExceptObjectStack^.next^.refcount=0 then
|
||||||
fpc_PopSecondObjectStack:=ExceptObjectStack^.next^.FObject;
|
{ we need to return the exception object to dispose it if refcount=0 }
|
||||||
|
fpc_PopSecondObjectStack:=ExceptObjectStack^.next^.FObject
|
||||||
|
else
|
||||||
|
fpc_PopSecondObjectStack:=nil;
|
||||||
hp:=ExceptObjectStack^.next;
|
hp:=ExceptObjectStack^.next;
|
||||||
ExceptObjectStack^.next:=hp^.next;
|
ExceptObjectStack^.next:=hp^.next;
|
||||||
if assigned(hp^.frames) then
|
if assigned(hp^.frames) then
|
||||||
@ -346,7 +349,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.19 2005-02-14 17:13:22 peter
|
Revision 1.20 2005-04-03 11:32:05 florian
|
||||||
|
* ref. counting for popping second exceptiono object fixed
|
||||||
|
|
||||||
|
Revision 1.19 2005/02/14 17:13:22 peter
|
||||||
* truncate log
|
* truncate log
|
||||||
|
|
||||||
Revision 1.18 2005/01/29 17:01:18 peter
|
Revision 1.18 2005/01/29 17:01:18 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user