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:
parent
216297b304
commit
0c7a0f4c58
|
@ -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) {
|
||||
|
|
Reference in New Issue