Re: The bug hunt continues: Bug found!
- From: Elliot Lee <sopwith redhat com>
- To: Dietmar Maurer <dm vlsivie tuwien ac at>
- cc: "gnome-components-list gnome org" <gnome-components-list gnome org>
- Subject: Re: The bug hunt continues: Bug found!
- Date: Fri, 3 Dec 1999 12:13:22 -0500 (EST)
On Fri, 3 Dec 1999, Dietmar Maurer wrote:
> Just found the bug (I think so). Take a look at bonobo-skel.c line 5588:
> // This is the bug !?
> if(ev->_major == CORBA_NO_EXCEPTION) CORBA_Object_release(_ORBIT_retval, ev);
> Why does it release the ORBIT_retval?
Because when you return a value, you are giving up ownership of it to the
caller.
> It works if you remove that line.
Someone probably forgot to do CORBA_Object_duplicate() in the gnome-bonobo
get_ui_handler implementation.
There are probably more of these bugs around.
-- Elliot
Do not meddle in the affairs of dragons,
for you are crunchy and good with ketchup.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]