diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-09 19:27:19 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-09 19:27:19 +0000 |
commit | 5fbc774f67ee605583fe32b865712d10f03e7639 (patch) | |
tree | 2c8ef6d2eb38bc1f6087d1c4907b2abbc23fc655 | |
parent | 54c8bb2a71a8115d4076d94f54ce0d5dba02603e (diff) |
fix channel walking problems from recent changes (bug #4494)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5883 f38db490-d61c-443f-a65b-d21fe96a405b
-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); |