diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-11 21:21:23 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-11 21:21:23 +0000 |
commit | ed44d366e533d67a828578872658f78a449c45ee (patch) | |
tree | 2ffa86c740e8cd7726f94a0454c20d20e0486425 /pbx.c | |
parent | 8ba4798676dfe94462a0b9fa7b8057a93be3841f (diff) |
fix another place where a frame does not get free'd
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33548 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); } |