Skip to content
Snippets Groups Projects
Commit 0e451c78 authored by Mark Spencer's avatar Mark Spencer
Browse files

Little revert on some CLI stuff

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 07dfb3d5
Branches
Tags
No related merge requests found
......@@ -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;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment