mirror of
https://github.com/curl/curl.git
synced 2026-07-31 11:38:06 +03:00
strdup.c fix memzero/strzero comments
https://github.com/curl/curl/pull/21645#discussion_r3673973152
This commit is contained in:
parent
ea55a8b21b
commit
f0429d9afa
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue