mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user