aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-certificate.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-12 01:01:01 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-13 22:22:23 +0800
commit5c313ddb2557218b7ccd4b3dd13dc1aad3834506 (patch)
treee2fbf3eb4fa355c6f98dff76316e5caddce32f41 /libempathy/empathy-tls-certificate.c
parent50f265ad2feffc9826a0c3a77782673fc39fca0e (diff)
downloadgsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar.gz
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar.bz2
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar.lz
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar.xz
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.tar.zst
gsoc2013-empathy-5c313ddb2557218b7ccd4b3dd13dc1aad3834506.zip
Make sure to release all the references
Diffstat (limited to 'libempathy/empathy-tls-certificate.c')
-rw-r--r--libempathy/empathy-tls-certificate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index 965219064..a9e323cc0 100644
--- a/libempathy/empathy-tls-certificate.c
+++ b/libempathy/empathy-tls-certificate.c
@@ -109,6 +109,8 @@ tls_certificate_got_all_cb (TpProxy *proxy,
g_simple_async_result_set_from_error (priv->async_init_res, error);
g_simple_async_result_complete_in_idle (priv->async_init_res);
+ g_object_unref (priv->async_init_res);
+
return;
}
@@ -125,6 +127,7 @@ tls_certificate_got_all_cb (TpProxy *proxy,
priv->cert_data->len, priv->cert_type);
g_simple_async_result_complete_in_idle (priv->async_init_res);
+ g_object_unref (priv->async_init_res);
}
static void
@@ -152,6 +155,7 @@ tls_certificate_init_async (GAsyncInitable *initable,
g_simple_async_result_complete_in_idle (priv->async_init_res);
g_error_free (error);
+ g_object_unref (priv->async_init_res);
return;
}