diff options
author | teor <teor@torproject.org> | 2019-02-28 10:45:59 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-02-28 10:45:59 +1000 |
commit | be29dfedd99f49b8bf22422eff04986f12580733 (patch) | |
tree | 8e13f1b52322540a83995e517ff480ed59999b86 /src/test/test_shared_random.c | |
parent | 15dc33849eda4fba651bf4096a9e405d737a977b (diff) | |
parent | 524731503e0a885ab2dbb778831aa79875f8edae (diff) | |
download | tor-be29dfedd99f49b8bf22422eff04986f12580733.tar.gz tor-be29dfedd99f49b8bf22422eff04986f12580733.zip |
Merge branch 'maint-0.3.4' into maint-0.3.5
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 98a114e1af..53a4b6fdff 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -733,8 +733,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" @@ -968,6 +968,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 @@ -1233,7 +1234,7 @@ test_state_transition(void *arg) } done: - return; + sr_state_free(); } static void |