mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user