ORBit bug?
- From: Dietmar Maurer <dietmar ximian com>
- To: orbit-list gnome org, "gnome-components-list gnome org" <gnome-components-list gnome org>
- Subject: ORBit bug?
- Date: Mon, 05 Mar 2001 13:17:15 +0100
I am unsure if the following is really an ORBit bug, since it seems to
be
a very common task. If you take a look at
_ORBIT_skel_Bonobo_PropertyBag_setValues () in Bonobo-skels.c:
The demarshalling code does not allocate memory for the name. Instead it
uses a
pointer into the receive buffer:
set._buffer[_ORBIT_tmpvar_3].name = (void *) _ORBIT_curptr;
and later the code calls:
Bonobo_PropertySet__free(&set, NULL, CORBA_TRUE);
Notice that release_strings is TRUE. So the memory is freed twice?
- Dietmar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]