[asterisk-commits] coreyfarrell: branch 13 r426266 - in /branches/13: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 28 06:20:24 CDT 2014
Author: coreyfarrell
Date: Tue Oct 28 06:20:21 2014
New Revision: 426266
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426266
Log:
app_queue: Cleanup ao2_iterator
Clean ao2_iterator, resolving reference leak to queue members.
ASTERISK-24454 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4111/
........
Merged revisions 426255 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 426260 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/apps/app_queue.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/apps/app_queue.c?view=diff&rev=426266&r1=426265&r2=426266
==============================================================================
--- branches/13/apps/app_queue.c (original)
+++ branches/13/apps/app_queue.c Tue Oct 28 06:20:21 2014
@@ -3496,6 +3496,7 @@
}
ao2_ref(m, -1);
}
+ ao2_iterator_destroy(&mem_iter);
ast_debug(3, "Queue %s has no realtime members defined. No need for update\n", q->name);
ao2_unlock(q);
return;
More information about the asterisk-commits
mailing list