automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@33478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Automerge script 19 years ago
parent 62866c9fda
commit d21d275cc3

@ -100,6 +100,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who)
samples++;
}
}
ast_frfree(f);
}
if (rformat) {

@ -212,6 +212,7 @@ zapretry:
break;
if ((f->frametype == AST_FRAME_DTMF) && (f->subclass == '#')) {
ret = 0;
ast_frfree(f);
break;
} else if (fd != chan->fds[0]) {
if (f->frametype == AST_FRAME_VOICE) {

@ -269,6 +269,8 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
ast_log(LOG_WARNING, "Failed to read frame: %s\n", strerror(errno));
}
}
if (f)
ast_frfree(f);
if (fd != chan->fds[0])
close(fd);
else {

Loading…
Cancel
Save