diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2016-08-16 17:53:38 +0100 |
---|---|---|
committer | Daniel Pinto <danielpinto52@gmail.com> | 2016-08-16 17:53:38 +0100 |
commit | 8c0fdf6a276077123c356f3fc9d29eebfc41db72 (patch) | |
tree | 1ac2994bf6a65d697da877847059911b97bf54aa /src/or/shared_random_state.c | |
parent | 5e571900b341b52a3176edaecfb6cbab8829efd1 (diff) | |
download | tor-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.c | 2 |
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; } |