hi,

> The only issue with this, is that if a another exception is raised in an
> except block while handling the first exception, then the first exception is
> lost and never destroyed  - this was the case last time I looked into this
> particular issue/leak.

just did a quick test, in d6 everything works as expected, ie exception1 is
correctly freed by the exception handler. tested using both memcheck and
breakpointing the exception destructor..

try
raise Exception1.Create('1');
except
raise Exception2.Create('2');
end;


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to