mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:21:40 +03:00
tool: fix two more allocator mismatches
memory allocated by libcurl (curl_maprintf) must be freed with
curl_free(), and memory allocated by the tool (curlx_strdup via
findfile) must be freed with curlx_free().
- tool_cfgable: ech_config is allocated with curl_maprintf, free it
with curl_free() instead of tool_safefree()
- config2setopts: known hosts from findfile() is allocated with
curlx_strdup, free it with curlx_free() instead of curl_free()
Follow-up to b71973c115
Closes #21150
This commit is contained in:
parent
2c26cea5ec
commit
9fcc7e4c43
3 changed files with 21 additions and 7 deletions
1
.mailmap
1
.mailmap
|
|
@ -121,3 +121,4 @@ Andrew Kirillov <akirillo@uk.ibm.com>
|
|||
Stephen Farrell <stephen.farrell@cs.tcd.ie>
|
||||
Calvin Ruocco <calvin.ruocco@vector.com>
|
||||
Hamza Bensliman <benslimanhamza99@gmail.com>
|
||||
Kaixuan Li <kaixuan.li@ntu.edu.sg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue