aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-21 16:49:20 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-21 16:49:20 -0400
commit7d9bea6a773cc18c4790883cb18e3e61131a4ab1 (patch)
tree9f73d04ebe8267d4860d99aa92fb6c946851723b /src/core
parent7eea45c5c460f735594ed9a208d2fe3e3714a368 (diff)
downloadtor-7d9bea6a773cc18c4790883cb18e3e61131a4ab1.tar.gz
tor-7d9bea6a773cc18c4790883cb18e3e61131a4ab1.zip
But, actually move systemd_watchdog_timer free into mainloop.c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mainloop/mainloop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 4ab00f92d7..306c78735b 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -2897,6 +2897,10 @@ tor_mainloop_free_all(void)
mainloop_event_free(postloop_cleanup_ev);
mainloop_event_free(handle_deferred_signewnym_ev);
+#ifdef HAVE_SYSTEMD_209
+ periodic_timer_free(systemd_watchdog_timer);
+#endif
+
stats_n_bytes_read = stats_n_bytes_written = 0;
memset(&global_bucket, 0, sizeof(global_bucket));