diff options
author | teor <teor@torproject.org> | 2019-02-28 10:45:44 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-02-28 10:45:44 +1000 |
commit | 524731503e0a885ab2dbb778831aa79875f8edae (patch) | |
tree | 19f6ca5244ee7db3bb6e7fe3551d883e299f9c92 /src/test/test_shared_random.c | |
parent | 1a194beb2c01999e08010b44c279cbaaeeadf86c (diff) | |
parent | 3313444ef08b891d344b1965a7776260c02f27ab (diff) | |
download | tor-524731503e0a885ab2dbb778831aa79875f8edae.tar.gz tor-524731503e0a885ab2dbb778831aa79875f8edae.zip |
Merge branch 'maint-0.3.3' into maint-0.3.4
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 2b3c8c93be..43ba0d9e53 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -689,8 +689,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" @@ -924,6 +924,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 @@ -1189,7 +1190,7 @@ test_state_transition(void *arg) } done: - return; + sr_state_free(); } static void |