diff options
author | Joshua Colp <jcolp@digium.com> | 2007-05-22 12:58:38 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-05-22 12:58:38 +0000 |
commit | 5b4de10a129f8c95057b722779d93c4793a5725c (patch) | |
tree | fa3e2e568376141ccb92162aaed7d9e9095c2aaa | |
parent | 9b5d9279be42979813d41f5425ed4db819b776e1 (diff) |
Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c index f9e1cdbff..f67919c0d 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -2209,7 +2209,7 @@ static int action_bridge(struct mansession *s, const struct message *m) return 1; } - if (!(tmpchana = ast_channel_alloc(0, AST_STATE_DOWN, NULL, NULL, NULL, + if (!(tmpchanb = ast_channel_alloc(0, AST_STATE_DOWN, NULL, NULL, NULL, NULL, NULL, 0, "Bridge/%s", chanb->name))) { astman_send_error(s, m, "Unable to create temporary channels!"); ast_channel_free(tmpchana); |