diff options
-rw-r--r-- | trust/test-token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/test-token.c b/trust/test-token.c index d4c89ce..d557980 100644 --- a/trust/test-token.c +++ b/trust/test-token.c @@ -84,7 +84,6 @@ static void teardown (void *path) { p11_token_free (test.token); - memset (&test, 0, sizeof (test)); } static void @@ -93,6 +92,7 @@ teardown_temp (void *unused) p11_test_directory_delete (test.directory); teardown (test.directory); free (test.directory); + memset (&test, 0, sizeof (test)); } static void |