From bbb59b8c5e681a60daaaf4f0ba7b7893ac60ec62 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 11 Jan 2006 04:19:21 +0000 Subject: [PATCH] fix locking error - lock instead of unlock git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7960 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbx.c b/pbx.c index 7f5fef1eef..3446ab58ed 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; }