aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-24 17:54:17 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-24 18:00:21 +0800
commit76d38803e7992e50333c1054c48bb789ff63c699 (patch)
tree6bbbb37bb048da006d3b11d92a0757bb98d58d23 /libempathy
parentb76f9bf45aca489bfe40c333a048be513410f36c (diff)
downloadgsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar.gz
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar.bz2
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar.lz
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar.xz
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.tar.zst
gsoc2013-empathy-76d38803e7992e50333c1054c48bb789ff63c699.zip
Don't leak certificate data
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tls-certificate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index 9b8e5ae15..00ff4d547 100644
--- a/libempathy/empathy-tls-certificate.c
+++ b/libempathy/empathy-tls-certificate.c
@@ -148,7 +148,8 @@ empathy_tls_certificate_finalize (GObject *object)
DEBUG ("%p", object);
- g_free (priv->object_path);
+ g_free (priv->cert_type);
+ tp_clear_boxed (array_of_ay_get_type (), &priv->cert_data);
G_OBJECT_CLASS (empathy_tls_certificate_parent_class)->finalize (object);
}