From: Travis Cross Date: Mon, 26 May 2014 19:08:27 +0000 (+0000) Subject: Document that switch_core_alloc returns zeroed memory X-Git-Tag: v1.4.5~2^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=333aff8a05341e0e55d99ef587d6f9fa5815802e;p=thirdparty%2Ffreeswitch.git Document that switch_core_alloc returns zeroed memory --- diff --git a/src/include/switch_core.h b/src/include/switch_core.h index b4e3e09353..22780dd4ac 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -645,6 +645,7 @@ SWITCH_DECLARE(void *) switch_core_perform_alloc(_In_ switch_memory_pool_t *pool \brief Allocate memory directly from a memory pool \param _pool the memory pool to allocate from \param _mem the number of bytes to allocate + \remark the memory returned has been memset to zero \return a void pointer to the allocated memory */ #define switch_core_alloc(_pool, _mem) switch_core_perform_alloc(_pool, _mem, __FILE__, __SWITCH_FUNC__, __LINE__)