summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cel/cel_sqlite3_custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cel/cel_sqlite3_custom.c b/cel/cel_sqlite3_custom.c
index e0b022519..444df77d3 100644
--- a/cel/cel_sqlite3_custom.c
+++ b/cel/cel_sqlite3_custom.c
@@ -353,7 +353,7 @@ static int reload(void)
ast_mutex_lock(&lock);
res = load_config(1);
- ast_mutex_lock(&lock);
+ ast_mutex_unlock(&lock);
return res;
}