From: Cosimo Cecchi Date: Mon, 13 Sep 2010 16:18:06 +0000 (+0200) Subject: Use tp_clear_boxed() to free the Rejection array X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1 Use tp_clear_boxed() to free the Rejection array --- diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c index 9af3a361..931bbcc6 100644 --- a/libempathy/empathy-tls-certificate.c +++ b/libempathy/empathy-tls-certificate.c @@ -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)); - g_ptr_array_unref (rejections); + tp_clear_boxed (EMP_ARRAY_TYPE_TLS_CERTIFICATE_REJECTION_LIST, + &rejections); } gboolean