fix channel walking problems from recent changes (bug #4494)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-09 19:27:19 +00:00
parent e18a747172
commit 8c6c774ab6
2 changed files with 1 additions and 1 deletions

View File

@@ -753,6 +753,7 @@ static int action_status(struct mansession *s, struct message *m)
ast_state2str(c->_state), bridge, c->uniqueid, idText);
}
ast_mutex_unlock(&s->lock);
ast_mutex_unlock(&c->lock);
if (!all)
break;
c = ast_channel_walk_locked(c);