conversions to memory allocation wrappers (issue #6210)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-01-11 22:41:34 +00:00
parent f5b108ac99
commit 2eb7eecdd0
5 changed files with 15 additions and 25 deletions

View File

@@ -84,7 +84,7 @@ static char *convert(char *lastname)
{
char *tmp;
int lcount = 0;
tmp = malloc(NUMDIGITS + 1);
tmp = ast_malloc(NUMDIGITS + 1);
if (tmp) {
while((*lastname > 32) && lcount < NUMDIGITS) {
switch(toupper(*lastname)) {