Fix memory leaks that stopped chutney working with asan

This commit is contained in:
Nick Mathewson
2016-03-28 10:24:28 -04:00
parent 1d315b28a2
commit 68e663f777
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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.");