[asterisk-commits] tilghman: trunk r53533 - in /trunk: ./ main/loader.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 8 06:50:33 MST 2007


Author: tilghman
Date: Thu Feb  8 07:50:33 2007
New Revision: 53533

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53533
Log:
Merged revisions 53532 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53532 | tilghman | 2007-02-08 07:47:54 -0600 (Thu, 08 Feb 2007) | 2 lines

Issue 9007 - Mutex not released on early return

........

Modified:
    trunk/   (props changed)
    trunk/main/loader.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/loader.c
URL: http://svn.digium.com/view/asterisk/trunk/main/loader.c?view=diff&rev=53533&r1=53532&r2=53533
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Thu Feb  8 07:50:33 2007
@@ -536,8 +536,10 @@
 	}
 	ast_lastreloadtime = time(NULL);
 
-	if (name && res)
+	if (name && res) {
+		ast_mutex_unlock(&reloadlock);
 		return res;
+	}
 
 	AST_LIST_LOCK(&module_list);
 	AST_LIST_TRAVERSE(&module_list, cur, entry) {



More information about the asterisk-commits mailing list