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

@ -415,7 +415,7 @@ static CURLcode libcurl_generate_slist(struct curl_slist *slist, int *slistno)
}
nomem:
Curl_safefree(escaped);
curlx_safefree(escaped);
return ret;
}
@ -530,7 +530,7 @@ static CURLcode libcurl_generate_mime_part(CURL *curl,
}
nomem:
Curl_safefree(escaped);
curlx_safefree(escaped);
return ret;
}
@ -712,7 +712,7 @@ CURLcode tool_setopt(CURL *curl, bool str, struct GlobalConfig *global,
}
nomem:
Curl_safefree(escaped);
curlx_safefree(escaped);
return ret;
}