diff options
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 eb5aa8fd2..a7de4ba98 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4540,7 +4540,7 @@ static char *complete_queue_remove_member(const char *line, const char *word, in ast_mutex_unlock(&q->lock); tmp = m->membername; ao2_ref(m, -1); - return tmp; + return ast_strdup(tmp); } ao2_ref(m, -1); } |