summaryrefslogtreecommitdiff
path: root/apps/app_directory.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-11 22:41:34 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-11 22:41:34 +0000
commit2eb7eecdd07406e219cb1692cced6f849a2eed6a (patch)
treed4ab39f3172c244d70ca7bfc20e75bccec31b341 /apps/app_directory.c
parentf5b108ac99513cc7b64673bc3fcc9b59fbe5e2ec (diff)
conversions to memory allocation wrappers (issue #6210)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r--apps/app_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index dd956a018..d506df1f1 100644
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -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)) {