dect
/
asterisk
Archived
13
0
Fork 0

don't leak a frame when exiting when the user presses '#'

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33447 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-06-11 14:48:25 +00:00
parent 216297b304
commit 0c7a0f4c58
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,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) {