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:
Viktor Szakats 2026-06-22 14:36:34 +02:00
parent b0d0f16d20
commit 560dc2985a
No known key found for this signature in database

View file

@ -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);