Merged revisions 33466 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Sun, 11 Jun 2006 15:04:36 +0000 (15:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 11 Jun 2006 15:04:36 +0000 (15:04 +0000)
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

index df7b1a4..885dd25 100644 (file)
@@ -101,6 +101,7 @@ static int measurenoise(struct ast_channel *chan, int ms, char *who)
                                samples++;
                        }
                }
+               ast_frfree(f);
        }
 
        if (rformat) {