aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/evolution-activity-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/evolution-activity-client.c b/shell/evolution-activity-client.c
index c14596bd13..fd56683f00 100644
--- a/shell/evolution-activity-client.c
+++ b/shell/evolution-activity-client.c
@@ -253,8 +253,8 @@ impl_destroy (GtkObject *object)
CORBA_exception_free (&ev);
- if (priv->listener)
- bonobo_object_unref(BONOBO_OBJECT(priv->listener));
+ if (priv->listener != NULL)
+ bonobo_object_unref (BONOBO_OBJECT (priv->listener));
g_free (priv->new_information);