[empathy/gnome-2-34] 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/gnome-2-34] empathy_account_settings_check_readyness: don't leak a ref on manager
- Date: Thu, 17 Feb 2011 13:50:47 +0000 (UTC)
commit 6cf142d1a902e1799abe66a5813f2f3978025f6c
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 12bde7b..e306181 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -533,7 +533,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]