]> git.0d.be Git - empathy.git/commitdiff
Use tp_clear_boxed() to free the Rejection array
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 13 Sep 2010 16:18:06 +0000 (18:18 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 13 Sep 2010 16:18:06 +0000 (18:18 +0200)
libempathy/empathy-tls-certificate.c

index 9af3a36137fa2a4323f69d1d3152fd42e5abca18..931bbcc6489df27e4e610a324b01db6122e5786f 100644 (file)
@@ -415,7 +415,8 @@ empathy_tls_certificate_reject_async (EmpathyTLSCertificate *self,
       -1, rejections, cert_proxy_reject_cb,
       reject_result, g_object_unref, G_OBJECT (self));
 
       -1, rejections, cert_proxy_reject_cb,
       reject_result, g_object_unref, G_OBJECT (self));
 
-  g_ptr_array_unref (rejections);
+  tp_clear_boxed (EMP_ARRAY_TYPE_TLS_CERTIFICATE_REJECTION_LIST,
+      &rejections);
 }
 
 gboolean
 }
 
 gboolean