summaryrefslogtreecommitdiff
path: root/apps/app_test.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-06-11 15:04:36 +0000
committerRussell Bryant <russell@russellbryant.com>2006-06-11 15:04:36 +0000
commite0bd90324648290888ef52f850ab08c6b7d89d33 (patch)
tree02ba9f0b7788b4b9aae7bc6621c123c159cbee88 /apps/app_test.c
parentde340b92f324b832b01b72859d2c80b4aab62895 (diff)
Merged revisions 33466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r33466 | russell | 2006-06-11 11:02:40 -0400 (Sun, 11 Jun 2006) | 4 lines Free frames read from the channel when measuring noise. This resulted in about 9 or 10 seconds of leaked frames in both the TestClient and TestServer applications ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_test.c')
-rw-r--r--apps/app_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_test.c b/apps/app_test.c
index df7b1a47e..885dd2572 100644
--- a/apps/app_test.c
+++ b/apps/app_test.c
@@ -101,6 +101,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who)
samples++;
}
}
+ ast_frfree(f);
}
if (rformat) {