[interfacekit] Re: Some news
- From: Alan Westbrook <alan@xxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Mon, 18 Oct 2004 17:03:29 -0700
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.
=)
Alan
DarkWyrm wrote:
I just patched the server -- hopefully this will fix the bugs. :D By
chance, how did you run the tests for BApplication?
--DW
- Follow-Ups:
- [interfacekit] Re: Some news
- From: DarkWyrm
- References:
- [interfacekit] Re: Some news
- From: DarkWyrm
Other related posts:
- » [interfacekit] Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
- » [interfacekit] Re: Some news
--DW
- [interfacekit] Re: Some news
- From: DarkWyrm
- [interfacekit] Re: Some news
- From: DarkWyrm