From: Russell Bryant Date: Sun, 11 Jun 2006 15:02:40 +0000 (+0000) Subject: Free frames read from the channel when measuring noise. This resulted in about X-Git-Tag: 1.2.10~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0d5de853901f9cc56a99aaffc97849ca29535b;p=thirdparty%2Fasterisk.git 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 --- 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) {