[asterisk-commits] mmichelson: branch 1.6.0 r188471 - in /branches/1.6.0: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 14 18:28:43 CDT 2009
Author: mmichelson
Date: Tue Apr 14 18:28:39 2009
New Revision: 188471
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=188471
Log:
Merged revisions 188470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r188470 | mmichelson | 2009-04-14 18:28:13 -0500 (Tue, 14 Apr 2009) | 3 lines
Fix a couple of queue member reference leaks.
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/apps/app_queue.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/apps/app_queue.c?view=diff&rev=188471&r1=188470&r2=188471
==============================================================================
--- branches/1.6.0/apps/app_queue.c (original)
+++ branches/1.6.0/apps/app_queue.c Tue Apr 14 18:28:39 2009
@@ -4246,7 +4246,7 @@
"Location: %s\r\n"
"Penalty: %d\r\n",
q->name, mem->interface, penalty);
-
+ ao2_ref(mem, -1);
}
}
ao2_unlock(q);
@@ -4280,6 +4280,7 @@
ao2_lock(q);
if ((mem = interface_exists(q, interface))) {
penalty = mem->penalty;
+ ao2_ref(mem, -1);
ao2_unlock(q);
queue_unref(q);
return penalty;
More information about the asterisk-commits
mailing list