[asterisk-commits] bbryant: trunk r134253 - /trunk/main/http.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 29 16:23:43 CDT 2008


Author: bbryant
Date: Tue Jul 29 16:23:43 2008
New Revision: 134253

URL: http://svn.digium.com/view/asterisk?view=rev&rev=134253
Log:
Fix deadlock when unloading res_http_post because the uris lock was still locked.

Modified:
    trunk/main/http.c

Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=134253&r1=134252&r2=134253
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Tue Jul 29 16:23:43 2008
@@ -391,6 +391,7 @@
 		}
 	}
 	AST_RWLIST_TRAVERSE_SAFE_END
+	AST_RWLIST_UNLOCK(&uris);
 }
 
 /*




More information about the asterisk-commits mailing list