[svn-commits] mmichelson: trunk r89287 - in /trunk: ./ main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 15 08:55:36 CST 2007


Author: mmichelson
Date: Thu Nov 15 08:55:35 2007
New Revision: 89287

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

........
r89286 | mmichelson | 2007-11-15 08:54:10 -0600 (Thu, 15 Nov 2007) | 4 lines

Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)

........

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

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

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=89287&r1=89286&r2=89287
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Thu Nov 15 08:55:35 2007
@@ -2834,6 +2834,7 @@
 		ast_mutex_lock(&s->__lock);
 		if (s->managerid == ident && !s->needdestroy) {
 			ast_atomic_fetchadd_int(&s->inuse, 1);
+			ast_mutex_unlock(&s->__lock);
 			break;
 		}
 		ast_mutex_unlock(&s->__lock);




More information about the svn-commits mailing list