[omniORB] is omniorb freeing returned pointers automatically ?

David Riddoch djr@uk.research.att.com
Mon, 29 Nov 1999 10:22:05 +0000 (GMT)


Yes.

On Sat, 27 Nov 1999, Philippe Moutarlier wrote:

> and, if yes , why ?

Because thats what the spec says it should do.  The reason the spec says
so is because passing arrays by value would be inefficient.

<snip>

> Is that a normal Corba behaviour ? I could not find anything specifying
> this anywhere (yet).

Have a look at the C++ spec (available from www.omg.org) or read a good
book on the subject.

Hope that helps,
David