mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 12:54:56 +00:00
fix another place where a frame does not get free'd
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
pbx.c
4
pbx.c
@@ -4908,9 +4908,11 @@ static void *async_wait(void *data)
|
|||||||
break;
|
break;
|
||||||
if (f->frametype == AST_FRAME_CONTROL) {
|
if (f->frametype == AST_FRAME_CONTROL) {
|
||||||
if ((f->subclass == AST_CONTROL_BUSY) ||
|
if ((f->subclass == AST_CONTROL_BUSY) ||
|
||||||
(f->subclass == AST_CONTROL_CONGESTION) )
|
(f->subclass == AST_CONTROL_CONGESTION) ) {
|
||||||
|
ast_frfree(f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
}
|
}
|
||||||
if (chan->_state == AST_STATE_UP) {
|
if (chan->_state == AST_STATE_UP) {
|
||||||
|
Reference in New Issue
Block a user