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
This commit is contained in:
Russell Bryant
2006-06-11 15:02:40 +00:00
parent 9c99053126
commit de0d5de853

View File

@@ -100,6 +100,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who)
samples++;
}
}
ast_frfree(f);
}
if (rformat) {