mirror of
https://github.com/curl/curl.git
synced 2026-07-08 21:47:25 +03:00
doh: drop redundant curlx_dyn_free() call in doh_probe_done()
The buffer is freed on the next instruction via `Curl_meta_remove()`'s
destructor.
Reported-by: netspacer.research
Follow-up to 1ebd92d0fd #16384
Closes #22133
This commit is contained in:
parent
b0d0f16d20
commit
560dc2985a
1 changed files with 0 additions and 1 deletions
|
|
@ -259,7 +259,6 @@ static void doh_probe_done(struct Curl_easy *data,
|
|||
result = curlx_dyn_addn(&dohp->probe_resp[i].body,
|
||||
curlx_dyn_ptr(&doh_req->resp_body),
|
||||
curlx_dyn_len(&doh_req->resp_body));
|
||||
curlx_dyn_free(&doh_req->resp_body);
|
||||
}
|
||||
Curl_meta_remove(doh, CURL_EZM_DOH_PROBE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue