projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1991814
)
This should already be called while locked.
author
Joshua Colp
<jcolp@digium.com>
Fri, 10 Nov 2006 03:34:13 +0000
(
03:34
+0000)
committer
Joshua Colp
<jcolp@digium.com>
Fri, 10 Nov 2006 03:34:13 +0000
(
03:34
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47404
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/pbx.c
patch
|
blob
|
history
diff --git
a/main/pbx.c
b/main/pbx.c
index
1ade415
..
f79461e
100644
(file)
--- a/
main/pbx.c
+++ b/
main/pbx.c
@@
-2090,7
+2090,6
@@
static int ast_remove_hint(struct ast_exten *e)
if (!e)
return -1;
- AST_RWLIST_WRLOCK(&hints);
AST_RWLIST_TRAVERSE_SAFE_BEGIN(&hints, hint, list) {
if (hint->exten == e) {
cbprev = NULL;
@@
-2110,7
+2109,6
@@
static int ast_remove_hint(struct ast_exten *e)
}
}
AST_RWLIST_TRAVERSE_SAFE_END
- AST_RWLIST_UNLOCK(&hints);
return res;
}