[svn-commits] seanbright: trunk r196792 - /trunk/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 26 11:38:58 CDT 2009


Author: seanbright
Date: Tue May 26 11:38:54 2009
New Revision: 196792

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196792
Log:
Add a missing unref for queues in handle_statechange.

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_queue.c?view=diff&rev=196792&r1=196791&r2=196792
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue May 26 11:38:54 2009
@@ -1216,6 +1216,7 @@
 		}
 
 		ao2_unlock(q);
+		ao2_ref(q, -1);
 	}
 
 	if (found)




More information about the svn-commits mailing list