summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-28 10:24:28 -0400
committerNick Mathewson <nickm@torproject.org>2016-03-28 10:24:28 -0400
commit68e663f7771e7f8fe0c171c49becd795e9300ff9 (patch)
treea07d3419eb26091a406bfee6c8c47184f3343191 /src/or/main.c
parent1d315b28a21330863039ce27c1996e2a47544fc6 (diff)
downloadtor-68e663f7771e7f8fe0c171c49becd795e9300ff9.tar.gz
tor-68e663f7771e7f8fe0c171c49becd795e9300ff9.zip
Fix memory leaks that stopped chutney working with asan
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 26e52d241d..a2cf5b1101 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3245,6 +3245,7 @@ do_list_fingerprint(void)
char buf[FINGERPRINT_LEN+1];
crypto_pk_t *k;
const char *nickname = get_options()->Nickname;
+ sandbox_disable_getaddrinfo_cache();
if (!server_mode(get_options())) {
log_err(LD_GENERAL,
"Clients don't have long-term identity keys. Exiting.");