Please report new issues athttps://github.com/DOCGroup
The method returns an ORB_ptr but does not duplicate it, this is counter intuitive since regular IDL interfaces duplicate the object or pseudo-object references they return. I'm reluctant to call this a problem (and thus the low priority of this bug) because: 1) This is a TAO internal interface, we can do whatever we want and whatever is more efficient there. 2) Pseudo-objects violate all this rules (check Anys and TypeCodes for example) Thanks to Andy for pointing out this problem.
I believe the interface is right, this is a TAO internal interface, and users should no be calling it. Further the problem that Andy had went away because he is using CORBA::ORB_init() now.