Re: Allocating and deallocating sequences of objects
- From: Michael Meeks <michael ximian com>
- To: Alessandro Mazzini <ale mazza libero it>
- Cc: <orbit-list gnome org>
- Subject: Re: Allocating and deallocating sequences of objects
- Date: Wed, 12 Dec 2001 01:48:22 -0500 (EST)
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]