mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'tor-github/pr/802' into maint-0.4.0
This commit is contained in:
commit
de5ab1ef49
@ -606,7 +606,9 @@ test_encoding(void *arg)
|
|||||||
static void
|
static void
|
||||||
test_sr_setup_srv(int also_current)
|
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_state_clean_srvs();
|
||||||
|
|
||||||
sr_srv_t *srv = tor_malloc_zero(sizeof(sr_srv_t));
|
sr_srv_t *srv = tor_malloc_zero(sizeof(sr_srv_t));
|
||||||
|
Loading…
Reference in New Issue
Block a user