strdup.c fix memzero/strzero comments

https://github.com/curl/curl/pull/21645#discussion_r3673973152
This commit is contained in:
Viktor Szakats 2026-07-29 14:24:22 +02:00
parent ea55a8b21b
commit f0429d9afa
No known key found for this signature in database

View file

@ -108,14 +108,14 @@ void curlx_memzero_low(void *buf, size_t size)
}
#endif
/* Free 'buf' after zeroing its content. */
/* Fill 'buf' with zeroes. */
void curlx_memzero(void *buf, size_t size)
{
if(buf)
curlx_memzero_low(buf, size);
}
/* Free 'buf' after zeroing its content, where 'buf' is null-terminated. */
/* Fill 'buf' with zeroes, where 'buf' is null-terminated. */
void curlx_strzero(void *buf)
{
if(buf)