diff options
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r-- | shell/evolution-shell-component-client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c index 2163813575..8a9f0ea67c 100644 --- a/shell/evolution-shell-component-client.c +++ b/shell/evolution-shell-component-client.c @@ -116,6 +116,7 @@ dispatch_callback (EvolutionShellComponentClient *shell_component_client, CORBA_free (oid); CORBA_Object_release (priv->listener_interface, &ev); + free_ShellComponentListener_servant (priv->listener_servant); CORBA_exception_free (&ev); @@ -301,6 +302,11 @@ impl_destroy (GtkObject *object) CORBA_Object_release (priv->offline_interface, &ev); } + if (priv->listener_interface != CORBA_OBJECT_NIL) { + CORBA_Object_release (priv->listener_interface, &ev); + free_ShellComponentListener_servant (priv->listener_servant); + } + CORBA_exception_free (&ev); g_free (priv); |