diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-03-19 09:32:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-19 09:32:24 -0400 |
commit | 544a613556f7d868e2c84122768490dd4e6e2d52 (patch) | |
tree | 7cb0740dd380babf781fee6ce8234ae86b5e4603 | |
parent | fcf8c1143b1997e0f3cc00717bfe0846f088f71a (diff) | |
parent | de5ab1ef49559ed24b639bbf052ea584db2f2b77 (diff) | |
download | tor-544a613556f7d868e2c84122768490dd4e6e2d52.tar.gz tor-544a613556f7d868e2c84122768490dd4e6e2d52.zip |
Merge branch 'maint-0.4.0' into release-0.4.0
-rw-r--r-- | src/test/test_shared_random.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c index 2316d26b7e..5fa7e80d07 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -606,7 +606,9 @@ test_encoding(void *arg) static void test_sr_setup_srv(int also_current) { - /* Clear both SRVs before starting. */ + /* Clear both SRVs before starting. + * In 0.3.5 and earlier, sr_state_set_previous_srv() and + * sr_state_set_current_srv() do not free() the old srvs. */ sr_state_clean_srvs(); sr_srv_t *srv = tor_malloc_zero(sizeof(sr_srv_t)); |