From: Brett Bryant Date: Tue, 29 Jul 2008 21:23:43 +0000 (+0000) Subject: Fix deadlock when unloading res_http_post because the uris lock was still locked. X-Git-Tag: 1.6.2.0-beta1~1567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e03f7ce05a68f021d654d1f4c99c3b4ab4a2fec6;p=thirdparty%2Fasterisk.git Fix deadlock when unloading res_http_post because the uris lock was still locked. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134253 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/http.c b/main/http.c index 77ed8a12fe..1a7579761b 100644 --- a/main/http.c +++ b/main/http.c @@ -391,6 +391,7 @@ void ast_http_uri_unlink_all_with_key(const char *key) } } AST_RWLIST_TRAVERSE_SAFE_END + AST_RWLIST_UNLOCK(&uris); } /*