src: s/Curl_safefree/curlx_safefree

Towards using curlx_ prefix for all libcurl code that is used in the
tool outside of the "real" API.

Closes #16664
This commit is contained in:
Daniel Stenberg 2025-03-10 23:03:09 +01:00
parent 794e9109d7
commit 438dd08b54
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
13 changed files with 143 additions and 140 deletions

View file

@ -595,7 +595,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);
Curl_safefree(config->cacert);
curlx_safefree(config->cacert);
if(mstr)
config->cacert = strdup(mstr);
curlx_unicodefree(mstr);