diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-02-27 09:59:33 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-02-27 09:59:33 -0500 |
commit | 56f01e58b43176b439ade122aa38adcee73d24d5 (patch) | |
tree | beed0b2c0e71ef563f06fff624bb6791ace15ab1 /src/test/test_shared_random.c | |
parent | ef2925e742d35be6558c1223fd4718077138cca9 (diff) | |
parent | d4b7975ce70fc93671136445c95c2009408cfe70 (diff) | |
download | tor-56f01e58b43176b439ade122aa38adcee73d24d5.tar.gz tor-56f01e58b43176b439ade122aa38adcee73d24d5.zip |
Merge remote-tracking branch 'tor-github/pr/731' into maint-0.4.0
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 617c76542e..68e5498a78 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -738,8 +738,8 @@ test_vote(void *arg) } done: - sr_commit_free(our_commit); UNMOCK(trusteddirserver_get_by_v3_auth_digest); + sr_state_free_all(); } static const char *sr_state_str = "Version 1\n" @@ -975,6 +975,7 @@ test_sr_compute_srv(void *arg) done: UNMOCK(trusteddirserver_get_by_v3_auth_digest); + sr_state_free_all(); } /** Return a minimal vote document with a current SRV value set to @@ -1240,7 +1241,7 @@ test_state_transition(void *arg) } done: - return; + sr_state_free_all(); } static void |