[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.

=)

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


Other related posts: