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]).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/97/197/1
Corey Farrell 11 years ago
parent b586e7f0b2
commit ac48e34b87

@ -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. */

Loading…
Cancel
Save