[omniORB] Unbalanced POA_ptr reference counting in POA_tie class templates

Duncan Grisby duncan at grisby.org
Fri Mar 3 22:24:22 GMT 2017


On Tue, 2017-02-14 at 13:39 +0100, Daniel Krügler via omniORB-list
wrote:

[...]
> The release call in the destructor is correct, but what is missing
> here is the call of POA::_duplicate() in both constructors.
> Effectively, the current pd_poa initialization needs to be corrected
> to:
> 
> pd_poa(::PortableServer::POA::_duplicate(p))

Thanks for the bug report. I guess that is a sign that very few people
use that constructor for the tie classes, or indeed tie classes at all.

I've fixed it in svn. The fix will be in version 4.2.2.

Thanks,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --




More information about the omniORB-list mailing list