[asterisk-commits] seanbright: branch 1.8 r280161 - in /branches/1.8: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 28 11:52:16 CDT 2010


Author: seanbright
Date: Wed Jul 28 11:52:12 2010
New Revision: 280161

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280161
Log:
Merged revisions 280160 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280160 | seanbright | 2010-07-28 12:51:11 -0400 (Wed, 28 Jul 2010) | 8 lines
  
  Plug a reference leak in app_queue when adding members dynamically.
  
  (closes issue #17738)
  Reported by: bobwienholt
  Patches:
        issue17738.patch uploaded by bobwienholt (license 950)
  Tested by: bobwienholt, seanbright
........

Modified:
    branches/1.8/   (props changed)
    branches/1.8/apps/app_queue.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
--- branch-1.6.2-merged (original)
+++ branch-1.6.2-merged Wed Jul 28 11:52:12 2010
@@ -1,1 +1,1 @@
-/branches/1.6.2:1-279056,279207,279501,279561,279597,279609,279657,279784,279849,279946,280089
+/branches/1.6.2:1-279056,279207,279501,279561,279597,279609,279657,279784,279849,279946,280089,280160

Modified: branches/1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_queue.c?view=diff&rev=280161&r1=280160&r2=280161
==============================================================================
--- branches/1.8/apps/app_queue.c (original)
+++ branches/1.8/apps/app_queue.c Wed Jul 28 11:52:12 2010
@@ -5080,6 +5080,7 @@
 	}
 	ao2_unlock(q);
 	ao2_unlock(queues);
+	queue_t_unref(q, "Expiring temporary reference");
 
 	return res;
 }




More information about the asterisk-commits mailing list