[empathy] mock-pkcs11: use g_hash_table_unref()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] mock-pkcs11: use g_hash_table_unref()
- Date: Tue, 7 Jan 2014 08:19:18 +0000 (UTC)
commit 1bb72627c34c990adb807a633464ee9ca276290e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jan 6 15:27:45 2014 +0100
mock-pkcs11: use g_hash_table_unref()
Same effect here but g_hash_table_destroy() is banned from our "coding style"
check tools.
https://bugzilla.gnome.org/show_bug.cgi?id=721484
tests/mock-pkcs11.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/mock-pkcs11.c b/tests/mock-pkcs11.c
index 1813a7e..a2ee648 100644
--- a/tests/mock-pkcs11.c
+++ b/tests/mock-pkcs11.c
@@ -146,13 +146,13 @@ mock_C_Finalize (CK_VOID_PTR reserved)
initialized = FALSE;
- g_hash_table_destroy (the_certificates);
+ g_hash_table_unref (the_certificates);
the_certificates = NULL;
- g_hash_table_destroy (the_assertions);
+ g_hash_table_unref (the_assertions);
the_assertions = NULL;
- g_hash_table_destroy (the_sessions);
+ g_hash_table_unref (the_sessions);
the_sessions = NULL;
return CKR_OK;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]