Merged revisions 114254 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r114254 | file | 2008-04-18 13:11:27 -0300 (Fri, 18 Apr 2008) | 4 lines

If the parsing of the config file fails make sure we unlock ldap_lock.
(closes issue #12477)
Reported by: IgorG

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 17 years ago
parent adcc4d810d
commit 1281ed267b

@ -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;
}

Loading…
Cancel
Save