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

Home » Public Forums » archive » Object cleanup when initialization fails
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Object cleanup when initialization fails [message #41504] Tue, 02 November 2004 16:22
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

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?

Thanks,
Benjamin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: external file read/plot with executable IDL
Next Topic: Re: Object cleanup when initialization fails

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

Current Time: Fri Oct 10 16:23:29 PDT 2025

Total time taken to generate the page: 1.52310 seconds