aboutsummaryrefslogtreecommitdiff
path: root/src/or/shared_random.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.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.c')
-rw-r--r--src/or/shared_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/shared_random.c b/src/or/shared_random.c
index 0a1f24a974..4453052d91 100644
--- a/src/or/shared_random.c
+++ b/src/or/shared_random.c
@@ -1328,7 +1328,7 @@ sr_act_post_consensus(const networkstatus_t *consensus)
get_voting_schedule(options,time(NULL), LOG_NOTICE);
time_t interval_starts = voting_schedule->interval_starts;
sr_state_update(interval_starts);
- tor_free(voting_schedule);
+ free_voting_schedule(voting_schedule);
}
}