aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feature/relay/dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c
index 371c2f5069..701719af95 100644
--- a/src/feature/relay/dns.c
+++ b/src/feature/relay/dns.c
@@ -1386,6 +1386,7 @@ configured_nameserver_address(const size_t idx)
NULL) == 0) {
return tor_addr;
}
+ tor_free(tor_addr);
}
return NULL;