[asterisk-commits] seanbright: trunk r280162 - in /trunk: ./ apps/app_queue.c

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


Author: seanbright
Date: Wed Jul 28 11:53:14 2010
New Revision: 280162

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

................
  r280161 | seanbright | 2010-07-28 12:52:12 -0400 (Wed, 28 Jul 2010) | 15 lines
  
  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:
    trunk/   (props changed)
    trunk/apps/app_queue.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.8-merged (original)
+++ branch-1.8-merged Wed Jul 28 11:53:14 2010
@@ -1,1 +1,1 @@
-/branches/1.8:1-279056,279113,279227,279273,279280,279314,279390,279410,279442,279472,279502,279504,279562,279566,279568,279598,279601,279619,279636-279815,279817,279850,279887,279916,279949,279953,280023,280058,280090
+/branches/1.8:1-279056,279113,279227,279273,279280,279314,279390,279410,279442,279472,279502,279504,279562,279566,279568,279598,279601,279619,279636-279815,279817,279850,279887,279916,279949,279953,280023,280058,280090,280161

Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=280162&r1=280161&r2=280162
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Jul 28 11:53:14 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