mirror of https://github.com/getdnsapi/getdns.git
read_buf's may remain on canceled tcp requests
This commit is contained in:
parent
efb0539c15
commit
0ef910b9ee
|
@ -728,6 +728,8 @@ _getdns_upstreams_dereference(getdns_upstreams *upstreams)
|
|||
{
|
||||
_getdns_closesocket(upstream->fd);
|
||||
}
|
||||
if (upstream->tcp.read_buf)
|
||||
GETDNS_FREE(upstreams->mf, upstream->tcp.read_buf);
|
||||
while (pin) {
|
||||
sha256_pin_t *nextpin = pin->next;
|
||||
GETDNS_FREE(upstreams->mf, pin);
|
||||
|
|
Loading…
Reference in New Issue