diff --git a/apps/app_dial.c b/apps/app_dial.c index 89deefae8..38f70bc5c 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -305,6 +305,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu if (single && ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_DTMF))) { if (ast_write(outgoing->chan, f)) ast_log(LOG_WARNING, "Unable to forward voice\n"); + ast_frfree(f); } } if (!*to && (option_verbose > 2))