From bbe8c73db98b02f3e12b12ddd32aca4968607dec Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 6 Nov 2000 21:22:42 +0000 Subject: Fixed a missing `CORBA_Object_duplicate()' problem. This should fix the crashes of the components on exit. svn path=/trunk/; revision=6425 --- shell/ChangeLog | 5 +++++ shell/evolution-shell-component.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index c00ea5bc43..a04c095269 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-11-06 Ettore Perazzoli + + * evolution-shell-component.c (impl_ShellComponent_create_view): + `CORBA_Object_duplicate()' the return value. + 2000-11-06 Kjartan Maraas * e-setup.c: Added #include diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index a886ba6b7c..8e149f11fb 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -213,7 +213,7 @@ impl_ShellComponent_create_view (PortableServer_Servant servant, return CORBA_OBJECT_NIL; } - return bonobo_object_corba_objref (BONOBO_OBJECT (control)); + return CORBA_Object_duplicate (bonobo_object_corba_objref (BONOBO_OBJECT (control)), ev); } static void -- cgit