aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-11 04:19:21 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-11 04:19:21 +0000
commit101de670055c9f71471f55556ac3b940e7ef6ea5 (patch)
tree01d12ca9f3c6e2bcb0493b771f5e0f2223152bcd /pbx.c
parentcfd5d468cd10a28c9591e091c421609bc9c2f4ae (diff)
fix locking error - lock instead of unlock
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7960 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 7f5fef1ee..3446ab58e 100644
--- a/pbx.c
+++ b/pbx.c
@@ -2029,7 +2029,7 @@ int ast_extension_state_del(int id, ast_state_cb_type callback)
cblist = cblist->next;
}
- ast_mutex_lock(&hintlock);
+ ast_mutex_unlock(&hintlock);
return -1;
}