From e0bd90324648290888ef52f850ab08c6b7d89d33 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 11 Jun 2006 15:04:36 +0000 Subject: 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 --- apps/app_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/app_test.c') 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) { -- cgit v1.2.3