dect
/
asterisk
Archived
13
0
Fork 0

Little revert on some CLI stuff

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@939 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-04-30 19:04:00 +00:00
parent 023547997a
commit ec641e6d26
1 changed files with 1 additions and 1 deletions

2
cli.c
View File

@ -873,7 +873,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock)
if (lock)
ast_pthread_mutex_unlock(&clilock);
free(dup);
return res ? res : NULL;
return res ? strdup(res) : NULL;
}
}
}