[asterisk-commits] mmichelson: branch 1.6.2 r188474 - in /branches/1.6.2: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 14 18:29:23 CDT 2009
Author: mmichelson
Date: Tue Apr 14 18:29:20 2009
New Revision: 188474
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=188474
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.2/ (props changed)
branches/1.6.2/apps/app_queue.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=188474&r1=188473&r2=188474
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Tue Apr 14 18:29:20 2009
@@ -4495,7 +4495,7 @@
"Location: %s\r\n"
"Penalty: %d\r\n",
q->name, mem->interface, penalty);
-
+ ao2_ref(mem, -1);
}
}
ao2_unlock(q);
@@ -4529,6 +4529,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