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
This commit is contained in:
parent
094e9d8397
commit
e835dd12e4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue