[empathy: 3/4] Use tp_clear_boxed() to free the Rejection array
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 3/4] Use tp_clear_boxed() to free the Rejection array
- Date: Tue, 14 Sep 2010 08:09:35 +0000 (UTC)
commit 923c077b85f4a6607e7e2ba0ea3a7f1c8b7d7ea1
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Sep 13 18:18:06 2010 +0200
Use tp_clear_boxed() to free the Rejection array
libempathy/empathy-tls-certificate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index 9af3a36..931bbcc 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]