smalloc: add a comment explaining why scalloc does not zero memory
authorVincent Fu <vincent.fu@samsung.com>
Wed, 12 Jun 2024 17:06:09 +0000 (13:06 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Wed, 12 Jun 2024 17:06:09 +0000 (13:06 -0400)
commitbd7492a47a5bb0ec66a05ae0cff0c9065afb0f88
tree5f53e7180685e2fb64f0a15efff741eb2dbfedfa
parenta15118757dad19c7f17700903d169676f244e318
smalloc: add a comment explaining why scalloc does not zero memory

scalloc does not zero out the buffer because this is already done
elsewhere. Explain this in a comment because this could be confusing.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
smalloc.c