[asterisk-commits] file: branch 1.6.0 r114255 - in /branches/1.6.0: ./ res/res_config_ldap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 18 11:12:46 CDT 2008


Author: file
Date: Fri Apr 18 11:12:45 2008
New Revision: 114255

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114255
Log:
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

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/res/res_config_ldap.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/res/res_config_ldap.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/res/res_config_ldap.c?view=diff&rev=114255&r1=114254&r2=114255
==============================================================================
--- branches/1.6.0/res/res_config_ldap.c (original)
+++ branches/1.6.0/res/res_config_ldap.c Fri Apr 18 11:12:45 2008
@@ -1364,6 +1364,7 @@
 
 	if (parse_config() < 0) {
 		ast_log(LOG_NOTICE, "Cannot reload LDAP RealTime driver.\n");
+		ast_mutex_unlock(&ldap_lock);
 		return 0;
 	}		
 




More information about the asterisk-commits mailing list