aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/mock-pkcs11.c6
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;