aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/res_config_ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_config_ldap.c b/res/res_config_ldap.c
index a88e480a4..376f9aff8 100644
--- a/res/res_config_ldap.c
+++ b/res/res_config_ldap.c
@@ -1364,6 +1364,7 @@ static int reload(void)
if (parse_config() < 0) {
ast_log(LOG_NOTICE, "Cannot reload LDAP RealTime driver.\n");
+ ast_mutex_unlock(&ldap_lock);
return 0;
}