aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-client.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-05-04 23:56:34 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-05-04 23:56:34 +0800
commitb8fea86c9d93332692219c8a1ca39efe262658af (patch)
treed2f1ad2d37af287e93e8ec68dd85b53a5fa92bc8 /shell/evolution-shell-component-client.c
parent562717e70a312939a8c9e828f587cb2f1e4a3b24 (diff)
downloadgsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar.gz
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar.bz2
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar.lz
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar.xz
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.tar.zst
gsoc2013-evolution-b8fea86c9d93332692219c8a1ca39efe262658af.zip
Plug more leaks.
svn path=/trunk/; revision=9671
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r--shell/evolution-shell-component-client.c6
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);