[interfacekit] Re: Some news

> Hi,
> 
> I saw that you just commented out the offending code, but I would 
> like to make a general observation.
> 
> In C++, it is perfectly legal to delete a NULL pointer, using guard 
> code like that is really just 
> going to be duplicating the code already in operator new(), so I 
> would recommend something more 
> along the lines of:
> 
>       delete fAppCursor;
>       fAppCursor = NULL;
> 
> For these sorts of cases.
I wasn't aware of that. Thanks. :)

--DW

Other related posts: