diff --git a/cel/cel_sqlite3_custom.c b/cel/cel_sqlite3_custom.c
index e0b02251931a42711c2da6db86609ad6a2c9db2d..444df77d3154f26bf77a51e3c9ec26ce2588c58c 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;
 }