From 73c9a3dba54975438ac127cc8020386ae5ed8e93 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 17 Feb 2011 12:54:10 +0100 Subject: empathy_account_settings_check_readyness: don't leak a ref on manager --- libempathy/empathy-account-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-account-settings.c') diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 541a7e113..7db6b7a86 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -568,7 +568,7 @@ empathy_account_settings_check_readyness (EmpathyAccountSettings *self) if (tp_protocol == NULL) { - priv->manager = NULL; + tp_clear_object (&priv->manager); return; } -- cgit v1.2.3