diff options
author | Joshua Colp <jcolp@digium.com> | 2007-10-04 14:54:30 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-10-04 14:54:30 +0000 |
commit | e835dd12e4cdcc50430072f7067cb6ed98bdf163 (patch) | |
tree | 92c56df81b6db057b2a816fef73427bd408557bf /apps/app_queue.c | |
parent | 094e9d8397c4ac4301ac4da04350299b681d9d86 (diff) |
Merged revisions 84637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84637 | file | 2007-10-04 11:51:57 -0300 (Thu, 04 Oct 2007) | 4 lines
Create a duplicate of the channel's member name as the tab completion stuff will free it.
(closes issue #10884)
Reported by: adamg
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 9470b44bd..b2078c67c 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4824,7 +4824,7 @@ static char *complete_queue_remove_member(const char *line, const char *word, in tmp = m->membername; ao2_ref(m, -1); queue_unref(q); - return tmp; + return ast_strdup(tmp); } ao2_ref(m, -1); } |