[omniORB] [Q] deleting static _the_nil_ptr

V S P toreason at fastmail.fm
Tue Apr 7 19:14:05 BST 2009


Hello,
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

I am getting a mem leak report on that.
It appears to be a static pointer that gets newed only once,
so even if there is a leak it is not relevant (because it
does not release memory only when the dll/executable shuts down)

But just wanted to ask if others are seeing the same thing
(it would only show up as the only leak if you have a 'clean' shutdown
sequence, even
after exceptions are thrown).


thanks,
Vlad
-- 
  V S P
  toreason at fastmail.fm

-- 
http://www.fastmail.fm - A fast, anti-spam email service.




More information about the omniORB-list mailing list