summaryrefslogtreecommitdiff
path: root/trust/test-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/test-module.c')
-rw-r--r--trust/test-module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trust/test-module.c b/trust/test-module.c
index e05ea22..1e8d812 100644
--- a/trust/test-module.c
+++ b/trust/test-module.c
@@ -119,6 +119,8 @@ teardown (void *unused)
rv = test.module->C_Finalize (NULL);
assert (rv == CKR_OK);
+ if (test.directory)
+ p11_test_directory_delete (test.directory);
free (test.directory);
memset (&test, 0, sizeof (test));