aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-10-03 12:46:09 -0400
committerRoger Dingledine <arma@torproject.org>2012-10-03 12:46:09 -0400
commit3d31771da9fcd0be5db21ac19a34d978bfe6d78d (patch)
tree722ee14ba813fef292909279263b8aa0f9826224 /src/or/main.c
parent65e85dba1be1c7ea6be0dca7e7e6bd7257d179c3 (diff)
downloadtor-3d31771da9fcd0be5db21ac19a34d978bfe6d78d.tar.gz
tor-3d31771da9fcd0be5db21ac19a34d978bfe6d78d.zip
Free some more still-in-use memory at exit
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 74bb696725..ea08faa338 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2477,6 +2477,10 @@ tor_free_all(int postfork)
smartlist_free(closeable_connection_lst);
smartlist_free(active_linked_connection_lst);
periodic_timer_free(second_timer);
+#ifndef USE_BUFFEREVENTS
+ periodic_timer_free(refill_timer);
+#endif
+
if (!postfork) {
release_lockfile();
}