[empathy] libempathy: Fix leak of certificate data.



commit de7d7bf967502778c927d80121e4aaf0a52a7461
Author: Stef Walter <stefw collabora co uk>
Date:   Mon Dec 13 17:46:03 2010 +0000

    libempathy: Fix leak of certificate data.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3

 libempathy/empathy-tls-verifier.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index c7460e1..23ced4e 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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]