commit a182301152afe9cd066516ae02f588840b2efc43 Author: Nick Mathewson nickm@torproject.org Date: Wed Oct 31 08:30:48 2018 -0400
Fix memory leak (#28257, CID 1440805). --- src/feature/relay/dns.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c index 371c2f506..701719af9 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;