[asterisk-commits] jrose: branch certified-1.8.11 r376302 - /certified/branches/1.8.11/apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 15 15:48:37 CST 2012


Author: jrose
Date: Thu Nov 15 15:48:33 2012
New Revision: 376302

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376302
Log:
app_queue: Fix a deadlock caused by a mistake from merging r375591

(closes issue AST-1035)
Reported by: Steve Pitts
Patches:
    certified_1.8.11_oops_missed_an_unlock.diff uploaded by Jonathan Rose (license 6182)



Modified:
    certified/branches/1.8.11/apps/app_queue.c

Modified: certified/branches/1.8.11/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/1.8.11/apps/app_queue.c?view=diff&rev=376302&r1=376301&r2=376302
==============================================================================
--- certified/branches/1.8.11/apps/app_queue.c (original)
+++ certified/branches/1.8.11/apps/app_queue.c Thu Nov 15 15:48:33 2012
@@ -2498,6 +2498,7 @@
 			ao2_ref(m, -1);
 		}
 		ast_debug(3, "Queue %s has no realtime members defined. No need for update\n", q->name);
+		ao2_unlock(q);
 		return;
 	}
 




More information about the asterisk-commits mailing list