diff options
author | James Golovich <james@gnuinter.net> | 2004-04-08 05:28:53 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-04-08 05:28:53 +0000 |
commit | 0f2bcccaba3ab3a58bb07e144eb3b0932ef8fb38 (patch) | |
tree | 7f68354a777deab1d1ccb1dfb64f6814649356ed /cli.c | |
parent | 6cde9d87a3a4d9735796599cc6e26be1eb08ef81 (diff) |
Free some cli memory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cli.c')
-rwxr-xr-x | cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -983,6 +983,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock) fullcmd = e->generator(text, word, (strlen(word) ? (x - 1) : (x)), state); if (lock) ast_mutex_unlock(&clilock); + free(dup); return fullcmd; } |