aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2013-08-14 17:16:06 +0300
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:38 -0400
commitf549e4c36d0658b6255d3b9cf7c56131d4a37a57 (patch)
tree6cb52935cd32ebafab09cbe9999bf02cdc2b08cb /src/or/main.c
parent33c3e60a376291faed073dcfb6c9b8a0098572a0 (diff)
downloadtor-f549e4c36d0658b6255d3b9cf7c56131d4a37a57.tar.gz
tor-f549e4c36d0658b6255d3b9cf7c56131d4a37a57.zip
Write some free_all functions to free the auth. cookies.
We started allocating space for them on the heap in the previous commit. Conflicts: src/or/ext_orport.h
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index d8f86bcec4..33e1c6437f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -52,6 +52,7 @@
#include "routerparse.h"
#include "statefile.h"
#include "status.h"
+#include "ext_orport.h"
#ifdef USE_DMALLOC
#include <dmalloc.h>
#include <openssl/crypto.h>
@@ -2510,6 +2511,8 @@ tor_free_all(int postfork)
memarea_clear_freelist();
nodelist_free_all();
microdesc_free_all();
+ ext_orport_free_all();
+ control_free_all();
if (!postfork) {
config_free_all();
or_state_free_all();