aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-17 19:54:10 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-17 21:48:56 +0800
commit6cf142d1a902e1799abe66a5813f2f3978025f6c (patch)
tree60f2f56f983d5bc6cdb419ff48ba6586e6252a46 /libempathy
parent4ee8d2a57e3165f036edf53e336282c1cab88b89 (diff)
downloadgsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar.gz
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar.bz2
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar.lz
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar.xz
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.tar.zst
gsoc2013-empathy-6cf142d1a902e1799abe66a5813f2f3978025f6c.zip
empathy_account_settings_check_readyness: don't leak a ref on manager
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 12bde7b5b..e30618187 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;
}