[asterisk-commits] mmichelson: trunk r133570 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 25 08:52:53 CDT 2008


Author: mmichelson
Date: Fri Jul 25 08:52:52 2008
New Revision: 133570

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133570
Log:
Add a missing unlock.

Pointed out by Atis Lezdins in #asterisk-dev


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=133570&r1=133569&r2=133570
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Jul 25 08:52:52 2008
@@ -4049,6 +4049,7 @@
 				if (failed) {
 					ast_log(LOG_WARNING, "Failed %spausing realtime queue member %s:%s\n", (paused ? "" : "un"), q->name, interface);
 					ao2_ref(mem, -1);
+					ao2_unlock(q);
 					continue;
 				}	
 				found++;




More information about the asterisk-commits mailing list