mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:33:32 +03:00
src: rename curlx_safefree to tool_safefree
It is not part of the curlx function collection, just a macro that might as well be a local version. Closes #17270
This commit is contained in:
parent
e522f47986
commit
d689bd915e
13 changed files with 140 additions and 139 deletions
|
|
@ -594,7 +594,7 @@ CURLcode FindWin32CACert(struct OperationConfig *config,
|
|||
res_len = SearchPath(NULL, bundle_file, NULL, PATH_MAX, buf, &ptr);
|
||||
if(res_len > 0) {
|
||||
char *mstr = curlx_convert_tchar_to_UTF8(buf);
|
||||
curlx_safefree(config->cacert);
|
||||
tool_safefree(config->cacert);
|
||||
if(mstr)
|
||||
config->cacert = strdup(mstr);
|
||||
curlx_unicodefree(mstr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue