aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-04 14:54:30 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-04 14:54:30 +0000
commit4488db02ad946d9b008e7308338d24372ab7d223 (patch)
tree92c56df81b6db057b2a816fef73427bd408557bf /apps
parent7b2c4bf5c6885a0f53e0aa73798091bbf6b8d394 (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: http://svn.digium.com/svn/asterisk/trunk@84638 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c2
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);
}