mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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
@ -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…
Reference in New Issue
Block a user