diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 14:21:07 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 14:21:07 +0800 |
commit | 384fbf44ff24c0f981b41083fad51ede9bff7bde (patch) | |
tree | af1c88f901c5fade2ba8d33c67231cd2213d7d1e /shell/e-shell-offline-handler.c | |
parent | b751e3beb0fee44ab470d3d25008a64046520a60 (diff) | |
download | gsoc2013-evolution-384fbf44ff24c0f981b41083fad51ede9bff7bde.tar.gz gsoc2013-evolution-384fbf44ff24c0f981b41083fad51ede9bff7bde.tar.zst gsoc2013-evolution-384fbf44ff24c0f981b41083fad51ede9bff7bde.zip |
Also call `PortableServer_POA_deactivate_object()' on the progress
* e-shell-offline-handler.c (component_info_free): Also call
`PortableServer_POA_deactivate_object()' on the progress listener
object so it gets deactivated.
svn path=/trunk/; revision=11605
Diffstat (limited to 'shell/e-shell-offline-handler.c')
-rw-r--r-- | shell/e-shell-offline-handler.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index b7680f0313..2495edffac 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -278,12 +278,15 @@ static void component_info_free (ComponentInfo *component_info) { CORBA_Environment ev; + PortableServer_ObjectId *oid; CORBA_exception_init (&ev); g_free (component_info->id); - CORBA_Object_release (component_info->offline_interface, &ev); + oid = PortableServer_POA_servant_to_id (bonobo_poa (), component_info->progress_listener_servant, &ev); + PortableServer_POA_deactivate_object (bonobo_poa (), oid, &ev); + CORBA_free (oid); POA_GNOME_Evolution_OfflineProgressListener__fini ((POA_GNOME_Evolution_OfflineProgressListener *) component_info->progress_listener_servant, &ev); @@ -291,6 +294,8 @@ component_info_free (ComponentInfo *component_info) CORBA_Object_release (component_info->progress_listener_interface, &ev); + CORBA_Object_release (component_info->offline_interface, &ev); + CORBA_free (component_info->active_connection_list); g_free (component_info); |