[empathy] empathy_account_settings_check_readyness: don't leak a ref on manager
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_account_settings_check_readyness: don't leak a ref on manager
- Date: Thu, 17 Feb 2011 13:50:39 +0000 (UTC)
commit 73c9a3dba54975438ac127cc8020386ae5ed8e93
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Feb 17 12:54:10 2011 +0100
empathy_account_settings_check_readyness: don't leak a ref on manager
libempathy/empathy-account-settings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 541a7e1..7db6b7a 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]