diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-10 23:51:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-10 23:51:42 +0000 |
commit | 1eb7a651e24fdd3d56a76538f1c32140c66dd01c (patch) | |
tree | e7d6aff893ce1a4324b44e7f533df6451b7040a9 /astmm.c | |
parent | dd867393028e4fa923e46c6b75033c7a8ca16c2f (diff) |
Add wrappers for commonly used memory allocation functions. These wrappers
add an automatically generated Asterisk log message if the allocation fails
for some reason. Otherwise, they are functionally the same, with the
exception of ast_strdup and ast_strndup. These functions have the added
ability to accept a NULL argument without error, which will just be ignored
without generating an error. The coding guidelines have also been updated to
reflect all of this information. (issue #4996)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7952 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astmm.c')
0 files changed, 0 insertions, 0 deletions