summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-12 17:58:33 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-13 12:20:26 -0400
commit7d11952bf4b7bda604e503485036b1a80edf3fd9 (patch)
tree0e1c4f64f7be1e8bde92e766fb045529800d5105 /src/or/main.c
parent2eb2536c0a570f7c9f9a168755379f9b04b8465d (diff)
downloadtor-7d11952bf4b7bda604e503485036b1a80edf3fd9.tar.gz
tor-7d11952bf4b7bda604e503485036b1a80edf3fd9.zip
Split the or_state_t portions of config.c into their own file
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 39eccd6e65..01da7a448d 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -46,6 +46,7 @@
#include "router.h"
#include "routerlist.h"
#include "routerparse.h"
+#include "statefile.h"
#include "status.h"
#ifdef USE_DMALLOC
#include <dmalloc.h>
@@ -2458,6 +2459,7 @@ tor_free_all(int postfork)
microdesc_free_all();
if (!postfork) {
config_free_all();
+ or_state_free_all();
router_free_all();
policies_free_all();
}