[asterisk-commits] coreyfarrell: trunk r426272 - in /trunk: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 28 06:22:58 CDT 2014
Author: coreyfarrell
Date: Tue Oct 28 06:22:55 2014
New Revision: 426272
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426272
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
........
Merged revisions 426266 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-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=426272&r1=426271&r2=426272
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Oct 28 06:22:55 2014
@@ -3537,6 +3537,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