[asterisk-commits] rmudgett: trunk r353040 - in /trunk: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 27 15:38:58 CST 2012
Author: rmudgett
Date: Fri Jan 27 15:38:54 2012
New Revision: 353040
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=353040
Log:
Audit of ao2_iterator_init() usage for v10. Missed one.
........
Merged revisions 353039 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=353040&r1=353039&r2=353040
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Jan 27 15:38:54 2012
@@ -5549,12 +5549,11 @@
/* After hitting realtime queues, go back and get the regular ones. */
queue_iter = ao2_iterator_init(queues, 0);
-
while ((q = ao2_t_iterator_next(&queue_iter, "Iterate through queues"))) {
foundqueue++;
foundinterface += set_member_penalty_help_members(q, interface, penalty);
}
-
+ ao2_iterator_destroy(&queue_iter);
} else { /* We actually have a queuename, so we can just act on the single queue. */
if ((q = find_load_queue_rt_friendly(queuename))) {
foundqueue++;
More information about the asterisk-commits
mailing list