mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
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:
@@ -100,6 +100,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who)
|
|||||||
samples++;
|
samples++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ast_frfree(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rformat) {
|
if (rformat) {
|
||||||
|
Reference in New Issue
Block a user