[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix memory leak (#28257, CID 1440805).
commit a182301152afe9cd066516ae02f588840b2efc43
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits