mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
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:
parent
794e9109d7
commit
438dd08b54
13 changed files with 143 additions and 140 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue