aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2010-12-14 01:46:03 +0800
committerStef Walter <stefw@collabora.co.uk>2010-12-24 21:40:02 +0800
commitde7d7bf967502778c927d80121e4aaf0a52a7461 (patch)
treef6306d504958a799e5e6edebf01318adb258aee8
parent14baa8d05d72d94431b3422bf455835bd065707e (diff)
downloadgsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar.gz
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar.bz2
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar.lz
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar.xz
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.tar.zst
gsoc2013-empathy-de7d7bf967502778c927d80121e4aaf0a52a7461.zip
libempathy: Fix leak of certificate data.
https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3
-rw-r--r--libempathy/empathy-tls-verifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index c7460e15f..23ced4e11 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -548,4 +548,5 @@ empathy_tls_verifier_store_exception (EmpathyTLSVerifier *self)
DEBUG ("Can't store the certificate exeption: %s", error->message);
g_object_unref (cert);
+ g_ptr_array_unref (certs);
}