mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix memory leak (#28257, CID 1440805).
This commit is contained in:
@@ -1386,6 +1386,7 @@ configured_nameserver_address(const size_t idx)
|
||||
NULL) == 0) {
|
||||
return tor_addr;
|
||||
}
|
||||
tor_free(tor_addr);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user