diff options
author | Debarshi Ray <debarshir@src.gnome.org> | 2012-11-06 22:31:06 +0800 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2012-11-06 22:45:10 +0800 |
commit | 52f97bc929ee335b5cfe0640ba800fcc828ced8b (patch) | |
tree | 7c434b5595878327c61d75089983a5f4b1e89982 /libempathy/empathy-server-tls-handler.c | |
parent | 70df59ba28465361b2b514922c32781cf45f6342 (diff) | |
download | gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar.gz gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar.bz2 gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar.lz gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar.xz gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.tar.zst gsoc2013-empathy-52f97bc929ee335b5cfe0640ba800fcc828ced8b.zip |
auth-client: Don't unref properties before creating the certificate
Fixes: https://bugzilla.gnome.org/687762
Diffstat (limited to 'libempathy/empathy-server-tls-handler.c')
-rw-r--r-- | libempathy/empathy-server-tls-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-server-tls-handler.c b/libempathy/empathy-server-tls-handler.c index 7a6bdf1ed..d58155f58 100644 --- a/libempathy/empathy-server-tls-handler.c +++ b/libempathy/empathy-server-tls-handler.c @@ -148,14 +148,14 @@ tls_handler_init_async (GAsyncInitable *initable, "&o", &cert_object_path); bus_name = tp_proxy_get_bus_name (TP_PROXY (priv->channel)); - g_variant_unref (properties); - DEBUG ("Creating an TpTLSCertificate for path %s, bus name %s", cert_object_path, bus_name); priv->certificate = tp_tls_certificate_new (TP_PROXY (priv->channel), cert_object_path, &error); + g_variant_unref (properties); + if (error != NULL) { DEBUG ("Unable to create the TpTLSCertificate: error %s", |