[asterisk-commits] tilghman: branch group/manager_http_auth r188476 - in /team/group/manager_htt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 14 18:47:43 CDT 2009


Author: tilghman
Date: Tue Apr 14 18:47:39 2009
New Revision: 188476

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=188476
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:
    team/group/manager_http_auth/   (props changed)
    team/group/manager_http_auth/apps/app_queue.c

Propchange: team/group/manager_http_auth/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Apr 14 18:47:39 2009
@@ -1,1 +1,1 @@
-/trunk:1-188430
+/trunk:1-188475

Modified: team/group/manager_http_auth/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/manager_http_auth/apps/app_queue.c?view=diff&rev=188476&r1=188475&r2=188476
==============================================================================
--- team/group/manager_http_auth/apps/app_queue.c (original)
+++ team/group/manager_http_auth/apps/app_queue.c Tue Apr 14 18:47:39 2009
@@ -4611,7 +4611,7 @@
 					"Location: %s\r\n"
 					"Penalty: %d\r\n",
 					q->name, mem->interface, penalty);
-
+				ao2_ref(mem, -1);
 			}
 		}
 		ao2_unlock(q);
@@ -4645,6 +4645,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