summaryrefslogtreecommitdiff
path: root/src/app/main/main.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-12-20 14:36:59 +0100
committerAlexander Færøy <ahf@torproject.org>2018-12-20 14:36:59 +0100
commit01819faaba0b4817ce15d29be0944e23268e76c4 (patch)
treef4486a34dbdc7b40313cba344756d72d9eb0c101 /src/app/main/main.c
parentf7e175db57c3c0a0acc2ca424163213544f34633 (diff)
downloadtor-01819faaba0b4817ce15d29be0944e23268e76c4.tar.gz
tor-01819faaba0b4817ce15d29be0944e23268e76c4.zip
Remove Process initializer/shutdown function from main.c.
See: https://bugs.torproject.org/28847
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r--src/app/main/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index aa322046fe..d71e43ec30 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -74,7 +74,6 @@
#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"
@@ -560,9 +559,6 @@ tor_init(int argc, char *argv[])
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();
@@ -790,7 +786,6 @@ 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();