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)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89287
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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);