summaryrefslogtreecommitdiff
path: root/main/http.c
diff options
context:
space:
mode:
authorBrett Bryant <bbryant@digium.com>2008-07-29 21:23:43 +0000
committerBrett Bryant <bbryant@digium.com>2008-07-29 21:23:43 +0000
commite03f7ce05a68f021d654d1f4c99c3b4ab4a2fec6 (patch)
treefc37a6a11f01bb10678600d1448eb48f5263b462 /main/http.c
parent68880b4e1098e9bdcba948fe4fa5c6cc14e790ba (diff)
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
Diffstat (limited to 'main/http.c')
-rw-r--r--main/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/http.c b/main/http.c
index 77ed8a12f..1a7579761 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);
}
/*