Little revert on some CLI stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
07dfb3d5f2
commit
0e451c786e
1 changed files with 1 additions and 1 deletions
2
cli.c
2
cli.c
|
@ -873,7 +873,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock)
|
||||||
if (lock)
|
if (lock)
|
||||||
ast_pthread_mutex_unlock(&clilock);
|
ast_pthread_mutex_unlock(&clilock);
|
||||||
free(dup);
|
free(dup);
|
||||||
return res ? res : NULL;
|
return res ? strdup(res) : NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue