diff options
author | Corey Farrell <git@cfware.com> | 2014-11-04 14:11:54 +0000 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2014-11-04 14:11:54 +0000 |
commit | bdc35c77b95af9ef8239b401f6f4a7fbaa824af4 (patch) | |
tree | fc02c57eb8c9998bf5862615f62502c70be5697d /main/app.c | |
parent | d159885e50eb3457579d55eb08f4712b002347ff (diff) |
Fix crash caused by merge error on review 4138
When merging from 12 to 13 there were conflicts,
I mistakenly had the loop run ast_closestream(others[0])
when it should be ast_closestream(others[x]).
........
Merged revisions 427181 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/app.c')
-rw-r--r-- | main/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c index dea5ee6ed..53987d8cd 100644 --- a/main/app.c +++ b/main/app.c @@ -1793,7 +1793,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile, break; } if (!realfiles[x]) { - ast_closestream(others[0]); + ast_closestream(others[x]); continue; } /*!\note Same logic as above. */ |