]> git.0d.be Git - empathy.git/commitdiff
Don't leak certificate data
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 24 Aug 2010 09:54:17 +0000 (11:54 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 24 Aug 2010 10:00:21 +0000 (12:00 +0200)
libempathy/empathy-tls-certificate.c

index 9b8e5ae15aa5330fb8b5864a2a1ab112770a424e..00ff4d54769d1d0908a16c41d9826f363efa3bfc 100644 (file)
@@ -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);
 }