diff options
-rwxr-xr-x | app.c | 1 | ||||
-rwxr-xr-x | manager.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -1059,7 +1059,6 @@ int ast_app_group_match_get_count(char *groupmatch, char *category) if (test && !regexec(®exbuf, test, 0, NULL, 0)) count++; ast_mutex_unlock(&chan->lock); - chan = ast_channel_walk_locked(chan); } regfree(®exbuf); @@ -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); |