[asterisk-commits] mmichelson: branch 1.4 r89286 - /branches/1.4/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 15 08:54:10 CST 2007


Author: mmichelson
Date: Thu Nov 15 08:54:10 2007
New Revision: 89286

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89286
Log:
Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=89286&r1=89285&r2=89286
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Thu Nov 15 08:54:10 2007
@@ -2487,6 +2487,7 @@
 		ast_mutex_lock(&s->__lock);
 		if (s->sessiontimeout && (s->managerid == ident) && !s->needdestroy) {
 			s->inuse++;
+			ast_mutex_unlock(&s->__lock);
 			break;
 		}
 		ast_mutex_unlock(&s->__lock);




More information about the asterisk-commits mailing list