[omniORB] Unbalanced POA_ptr reference counting in POA_tie class templates

Daniel Krügler daniel.kruegler at gmail.com
Sat Mar 4 15:54:09 GMT 2017


2017-03-03 23:24 GMT+01:00 Duncan Grisby <duncan at grisby.org>:
> 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.

My personal assumption is that tie classes are often use, but I agree
that presumably the POA is rarely provided.

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

Great! Is their an estimate about the intended 4.2.2 release?

Thanks,

- Daniel



More information about the omniORB-list mailing list