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