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
1.2
Russell Bryant 19 years ago
parent dcebecb76e
commit 0cce2fe2e9

@ -4908,8 +4908,10 @@ static void *async_wait(void *data)
break;
if (f->frametype == AST_FRAME_CONTROL) {
if ((f->subclass == AST_CONTROL_BUSY) ||
(f->subclass == AST_CONTROL_CONGESTION) )
break;
(f->subclass == AST_CONTROL_CONGESTION) ) {
ast_frfree(f);
break;
}
}
ast_frfree(f);
}

Loading…
Cancel
Save