diff options
Diffstat (limited to 'src/test/test_shared_random.c')
-rw-r--r-- | src/test/test_shared_random.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c index 437fc38deb..2283976415 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -686,8 +686,8 @@ test_vote(void *arg) } done: - sr_commit_free(our_commit); UNMOCK(trusteddirserver_get_by_v3_auth_digest); + sr_state_free(); } static const char *sr_state_str = "Version 1\n" @@ -921,6 +921,7 @@ test_sr_compute_srv(void *arg) done: UNMOCK(trusteddirserver_get_by_v3_auth_digest); + sr_state_free(); } /** Return a minimal vote document with a current SRV value set to @@ -1186,7 +1187,7 @@ test_state_transition(void *arg) } done: - return; + sr_state_free(); } static void |