diff options
author | Stefan Eissing <stefan@eissing.org> | 2024-07-17 14:46:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2024-07-18 15:13:30 +0200 |
commit | d8696dc8c0a8879e2673870d09adc5fa9ab1af22 (patch) | |
tree | 923df0b781fdaf05d4aa6a3ad9bdf9d6905ab589 /docs/libcurl/libcurl-errors.md | |
parent | 5eba0a4b376bd052ca754c98e916be34d05af9fd (diff) |
doh: fix cleanup
When removing an easy handle that had DoH sub-easy handles going, those
were not removed from the multi handle. Their memory was reclaimed on
curl_easy_cleanup() of the owning handle, but multi still had them in
their list.
Add `Curl_doh_close()` and `Curl_doh_cleanup()` as common point for
handling the DoH resource management. Use the `multi` present in the doh
handles (if so), for removal, as the `data->multi` might already have
been NULLed at this time.
Reported-by: 罗朝辉
Fixes #14207
Closes #14212
Diffstat (limited to 'docs/libcurl/libcurl-errors.md')
0 files changed, 0 insertions, 0 deletions