diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-01-06 22:27:45 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-01-06 22:41:30 +0800 |
commit | 1bb72627c34c990adb807a633464ee9ca276290e (patch) | |
tree | 66e282dcb4c1b4eda5841728772094acf583f3ba | |
parent | 7c3dfe14b806582b204ec447354e28ff689e061e (diff) | |
download | gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar.gz gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar.bz2 gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar.lz gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar.xz gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.tar.zst gsoc2013-empathy-1bb72627c34c990adb807a633464ee9ca276290e.zip |
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
-rw-r--r-- | 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 1813a7e9b..a2ee648bb 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; |