From de0d5de853901f9cc56a99aaffc97849ca29535b Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 11 Jun 2006 15:02:40 +0000 Subject: [PATCH] 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/branches/1.2@33466 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_test.c b/apps/app_test.c index dba8bcafb2..bb3c0031e9 100644 --- a/apps/app_test.c +++ b/apps/app_test.c @@ -100,6 +100,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who) samples++; } } + ast_frfree(f); } if (rformat) { -- 2.47.2