summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-02-28 01:59:18 +0000
committerRoger Dingledine <arma@torproject.org>2005-02-28 01:59:18 +0000
commitb3177d509ea145db49e41c67c65face8b686096c (patch)
treed267772e6cfd651af2a7a2186d35ebe84d3ccafa /src/or/main.c
parentbed6c0545329d58cf3186877d5e7c08c57bdf5c4 (diff)
downloadtor-b3177d509ea145db49e41c67c65face8b686096c.tar.gz
tor-b3177d509ea145db49e41c67c65face8b686096c.zip
free some more memory at shutdown
svn:r3707
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 46d88711b3..24796df138 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1265,6 +1265,8 @@ void tor_free_all(void)
tor_tls_free_all();
/* stuff in main.c */
smartlist_free(closeable_connection_lst);
+
+ close_logs(); /* free log strings. do this last so logs keep working. */
}
/** Do whatever cleanup is necessary before shutting Tor down. */