aboutsummaryrefslogtreecommitdiff
path: root/src/app/main/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-17 16:41:01 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-17 16:41:01 -0500
commite969d9c6b4b82178fbc840e3d53e12cbb64fee5c (patch)
tree5be34da1967f5358ed84c816c86a4bce7d656a0e /src/app/main/main.c
parent5a22b42c3a01ad8d99e977cfd9efa760438129e9 (diff)
parentc8b8b15f0eb2651dea694a057e70e6b8c34dbe05 (diff)
downloadtor-e969d9c6b4b82178fbc840e3d53e12cbb64fee5c.tar.gz
tor-e969d9c6b4b82178fbc840e3d53e12cbb64fee5c.zip
Merge branch 'ticket28179_squashed' into ticket28179_squashed_merged
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r--src/app/main/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index 3f4e1d06a7..51113cd53c 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -74,6 +74,7 @@
#include "lib/net/resolve.h"
#include "lib/process/waitpid.h"
+#include "lib/process/process.h"
#include "lib/meminfo/meminfo.h"
#include "lib/osinfo/uname.h"
@@ -558,6 +559,10 @@ tor_init(int argc, char *argv[])
rend_cache_init();
addressmap_init(); /* Init the client dns cache. Do it always, since it's
* cheap. */
+
+ /* Initialize Process subsystem. */
+ process_init();
+
/* Initialize the HS subsystem. */
hs_init();
@@ -785,6 +790,7 @@ tor_free_all(int postfork)
circuitmux_ewma_free_all();
accounting_free_all();
protover_summary_cache_free_all();
+ process_free_all();
if (!postfork) {
config_free_all();