[asterisk-commits] file: trunk r84638 - in /trunk: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 4 09:54:30 CDT 2007


Author: file
Date: Thu Oct  4 09:54:30 2007
New Revision: 84638

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84638
Log:
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

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_queue.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=84638&r1=84637&r2=84638
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Oct  4 09:54:30 2007
@@ -4824,7 +4824,7 @@
 				tmp = m->membername;
 				ao2_ref(m, -1);
 				queue_unref(q);
-				return tmp;
+				return ast_strdup(tmp);
 			}
 			ao2_ref(m, -1);
 		}




More information about the asterisk-commits mailing list