Re: Allocating and deallocating sequences of objects



Hi Alessandro,

On Tue, 11 Dec 2001, Alessandro Mazzini wrote:
> I created a sequence of structure on the server side. This structure
> is formed by an Object (well, a reference) and two CORBA_long.

        Are you sure you dup the object reference before putting it in the
sequence: ie.

my_sequence->_buffer[i].object_ref = CORBA_Object_duplicate (ref, ev);

        it will be released when you free.

        HTH,

                Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]