aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-09-14 00:18:06 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-09-14 00:18:06 +0800
commit923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1 (patch)
tree242f9597f61419c0af1722e66ef19f7ca36e51cd
parentd70bd8a286c4756409437e40a0a6a38108079b06 (diff)
downloadgsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar.gz
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar.bz2
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar.lz
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar.xz
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.tar.zst
gsoc2013-empathy-923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1.zip
Use tp_clear_boxed() to free the Rejection array
-rw-r--r--libempathy/empathy-tls-certificate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index 9af3a3613..931bbcc64 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