]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Document that switch_core_alloc returns zeroed memory
authorTravis Cross <tc@traviscross.com>
Mon, 26 May 2014 19:08:27 +0000 (19:08 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 27 May 2014 11:24:09 +0000 (11:24 +0000)
src/include/switch_core.h

index b4e3e09353d1a7715c8edfbb9b41728a00c4d25a..22780dd4accfdd352bd969af107541218d4b29e7 100644 (file)
@@ -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__)