aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 21:23:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 21:23:16 +0000
commit43eaa8e30287b6e263033edd292de747755dd717 (patch)
tree4e7c919a9258843f9280e3440c4e58feb7d13e58 /pbx.c
parentb180725b3eb4dd9b6382f67c6e878cc17260e99c (diff)
Merged revisions 33548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r33548 | russell | 2006-06-11 17:21:23 -0400 (Sun, 11 Jun 2006) | 2 lines fix another place where a frame does not get free'd ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33549 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index b8beb0f6c..620b7dc38 100644
--- a/pbx.c
+++ b/pbx.c
@@ -4452,8 +4452,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);
}