aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-03-27 15:05:28 +0000
committerNick Mathewson <nickm@torproject.org>2008-03-27 15:05:28 +0000
commit02acee891c9898e510bb21e4a6b88e44ff4a13f9 (patch)
treea0410637ae1688d18327205b21c7aa529e147fc6 /src/common/log.c
parent03078f7f7a9aec4aa94b05f71d92458ec865b9a0 (diff)
downloadtor-02acee891c9898e510bb21e4a6b88e44ff4a13f9.tar
tor-02acee891c9898e510bb21e4a6b88e44ff4a13f9.tar.gz
r19089@catbus: nickm | 2008-03-27 11:05:23 -0400
Free some static hashtables and the log mutex on exit. Backport candidate. svn:r14212
Diffstat (limited to 'src/common/log.c')
-rw-r--r--src/common/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c
index aa13db9f0..0f59a93ac 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -431,6 +431,8 @@ logs_free_all(void)
log_free(victim);
}
tor_free(appname);
+ tor_mutex_free(log_mutex);
+ log_mutex = NULL;
}
/** Remove and free the log entry <b>victim</b> from the linked-list