]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
But, actually move systemd_watchdog_timer free into mainloop.c
authorNick Mathewson <nickm@torproject.org>
Fri, 21 Sep 2018 20:49:20 +0000 (16:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 21 Sep 2018 20:49:20 +0000 (16:49 -0400)
src/core/mainloop/mainloop.c

index 4ab00f92d7e0b9b733642a19e85b6473637a94a3..306c78735bc3df5529a1105fe80bf862e9a76dc2 100644 (file)
@@ -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));