diff options
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 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); |