curlx: drop unused curlx_saferealloc()

Unused since 67ae101666 #19949

Closes #20504
This commit is contained in:
Viktor Szakats 2026-02-03 14:10:02 +01:00
parent 31a4f415af
commit 5bdbad87c5
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 0 additions and 26 deletions

View file

@ -102,8 +102,6 @@ static CURLcode dyn_nappend(struct dynbuf *s,
}
if(a != s->allc) {
/* this logic is not using curlx_saferealloc() to make the tool not have to
include that as well when it uses this code */
void *p = curlx_realloc(s->bufr, a);
if(!p) {
curlx_dyn_free(s);