Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2007-11-15 14:54:10 +00:00
parent 9d3be20a0d
commit 88f847869d

View File

@@ -2487,6 +2487,7 @@ static struct mansession *find_session(unsigned long ident)
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);