[tor-commits] [tor/master] Move systemd_watchdog_timer free into mainloop.c

nickm at torproject.org nickm at torproject.org
Fri Sep 21 20:46:21 UTC 2018


commit 7eea45c5c460f735594ed9a208d2fe3e3714a368
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Sep 21 16:46:17 2018 -0400

    Move systemd_watchdog_timer free into mainloop.c
---
 src/app/main/main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/app/main/main.c b/src/app/main/main.c
index ab6610511..eeb219f3d 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -803,10 +803,6 @@ tor_free_all(int postfork)
 
   tor_mainloop_free_all();
 
-#ifdef HAVE_SYSTEMD_209
-  periodic_timer_free(systemd_watchdog_timer);
-#endif
-
   if (!postfork) {
     release_lockfile();
   }



More information about the tor-commits mailing list