mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree()
To sync names for the same macro logic between lib and src, and to move it to the curlx namespace, to match `curlx_free()` that it's calling. Closes #21151
This commit is contained in:
parent
2b3dfb4ad4
commit
0df6c01db3
72 changed files with 494 additions and 500 deletions
|
|
@ -1057,7 +1057,7 @@ UNITTEST void de_cleanup(struct dohentry *d)
|
|||
}
|
||||
#ifdef USE_HTTPSRR
|
||||
for(i = 0; i < d->numhttps_rrs; i++)
|
||||
Curl_safefree(d->https_rrs[i].val);
|
||||
curlx_safefree(d->https_rrs[i].val);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -1176,7 +1176,7 @@ UNITTEST CURLcode doh_resp_decode_httpsrr(struct Curl_easy *data,
|
|||
return CURLE_OK;
|
||||
err:
|
||||
Curl_httpsrr_cleanup(lhrr);
|
||||
Curl_safefree(lhrr);
|
||||
curlx_safefree(lhrr);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -1360,7 +1360,7 @@ void Curl_doh_cleanup(struct Curl_easy *data,
|
|||
for(i = 0; i < DOH_SLOT_COUNT; ++i) {
|
||||
curlx_dyn_free(&dohp->probe_resp[i].body);
|
||||
}
|
||||
Curl_safefree(async->doh);
|
||||
curlx_safefree(async->doh);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue