Fix deadlock when unloading res_http_post because the uris lock was still locked.
authorBrett Bryant <bbryant@digium.com>
Tue, 29 Jul 2008 21:23:43 +0000 (21:23 +0000)
committerBrett Bryant <bbryant@digium.com>
Tue, 29 Jul 2008 21:23:43 +0000 (21:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/http.c

index 77ed8a1..1a75797 100644 (file)
@@ -391,6 +391,7 @@ void ast_http_uri_unlink_all_with_key(const char *key)
                }
        }
        AST_RWLIST_TRAVERSE_SAFE_END
+       AST_RWLIST_UNLOCK(&uris);
 }
 
 /*