dect
/
asterisk
Archived
13
0
Fork 0

Fix small leak on app_dial

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1171 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-07-09 06:12:21 +00:00
parent 544ed4ae5e
commit cbb3533ca8
1 changed files with 1 additions and 0 deletions

View File

@ -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))