mirror of
https://github.com/curl/curl.git
synced 2026-07-26 19:17:22 +03:00
url: cleanup dangling DOH request headers too
Follow-up to 9bc44ff64d
Credit to OSS-Fuzz
Bug: https://crbug.com/oss-fuzz/17269
Closes #4372
This commit is contained in:
parent
7c596f5dea
commit
beb4350917
1 changed files with 1 additions and 0 deletions
|
|
@ -404,6 +404,7 @@ CURLcode Curl_close(struct Curl_easy *data)
|
|||
Curl_close(data->req.doh.probe[1].easy);
|
||||
free(data->req.doh.probe[0].serverdoh.memory);
|
||||
free(data->req.doh.probe[1].serverdoh.memory);
|
||||
curl_slist_free_all(data->req.doh.headers);
|
||||
|
||||
/* destruct wildcard structures if it is needed */
|
||||
Curl_wildcard_dtor(&data->wildcard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue