comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Object cleanup when initialization fails
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Object cleanup when initialization fails [message #41503] Tue, 02 November 2004 16:44
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Benjamin Hornberger wrote:

> do I get it right that an object's cleanup method is not called when
> there is an error in the initialization method? Which means, if I assign
> pointers in the init method and at some point later it produces an error
> (and returns 0, which means the object is not created), I have to free
> my pointers in the init method's error handler?

Yes.

:)

-Rick
[Message index]
 
Read Message
Previous Topic: Object cleanup when initialization fails
Next Topic: Re: Widget program disappearing behind IDLDE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:19:07 PDT 2025

Total time taken to generate the page: 0.24468 seconds