aboutsummaryrefslogtreecommitdiff
path: root/src/or/shared_random_state.c
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2016-08-16 17:53:38 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2016-08-16 17:53:38 +0100
commit8c0fdf6a276077123c356f3fc9d29eebfc41db72 (patch)
tree1ac2994bf6a65d697da877847059911b97bf54aa /src/or/shared_random_state.c
parent5e571900b341b52a3176edaecfb6cbab8829efd1 (diff)
downloadtor-8c0fdf6a276077123c356f3fc9d29eebfc41db72.tar.gz
tor-8c0fdf6a276077123c356f3fc9d29eebfc41db72.zip
Added a voting_schedule_free function to free voting schedules.
Existing Uses of the tor_free function on voting schedules were replaced with voting_schedule_free. Fixes #19562.
Diffstat (limited to 'src/or/shared_random_state.c')
-rw-r--r--src/or/shared_random_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/shared_random_state.c b/src/or/shared_random_state.c
index 52a0034db7..4985af1b55 100644
--- a/src/or/shared_random_state.c
+++ b/src/or/shared_random_state.c
@@ -150,7 +150,7 @@ get_start_time_of_current_round(time_t now)
voting_interval,
options->TestingV3AuthVotingStartOffset);
- tor_free(new_voting_schedule);
+ free_voting_schedule(new_voting_schedule);
return curr_start;
}