[omniORB] [Q] deleting static _the_nil_ptr
Duncan Grisby
duncan at grisby.org
Wed Apr 8 12:15:32 BST 2009
On Tuesday 7 April, "V S P" wrote:
> in the generate stub
> there is a static pointer called
>
> static _objref_<MYINTERFACENAME>* _the_nil_ptr = 0;
>
> there is a new done on it,
> but I cannot find delete
The delete is done during the final clean-up that happens when the
omniORB library is unloaded. It only happens if you call
orb->destroy().
> I am getting a mem leak report on that.
What is reporting the leak? If something goes looking for leaks before
the omniORB library is unloaded, it will look as though it's leaked.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list