diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-02-27 16:05:41 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-02-27 16:33:59 +0100 |
commit | bcf2c4e0a24303f976dbedc0ef0a564b9808a989 (patch) | |
tree | cdbb82b1e1149d1d16eedc4a52b2a34cab745e00 /trust | |
parent | fb8bf5a5f82e5b4f0afe72e247255f37fc0dedc8 (diff) |
test: Improve temporary directory handling
Diffstat (limited to 'trust')
-rw-r--r-- | trust/test-module.c | 2 |
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)); |