[svn-commits] seanbright: branch 1.6.2 r280160 - /branches/1.6.2/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 28 11:51:16 CDT 2010


Author: seanbright
Date: Wed Jul 28 11:51:11 2010
New Revision: 280160

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280160
Log:
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.6.2/apps/app_queue.c

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




More information about the svn-commits mailing list