[asterisk-commits] branch 1.2 r33466 - /branches/1.2/apps/app_test.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jun 11 08:02:41 MST 2006


Author: russell
Date: Sun Jun 11 10:02:40 2006
New Revision: 33466

URL: http://svn.digium.com/view/asterisk?rev=33466&view=rev
Log:
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

Modified:
    branches/1.2/apps/app_test.c

Modified: branches/1.2/apps/app_test.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_test.c?rev=33466&r1=33465&r2=33466&view=diff
==============================================================================
--- branches/1.2/apps/app_test.c (original)
+++ branches/1.2/apps/app_test.c Sun Jun 11 10:02:40 2006
@@ -100,6 +100,7 @@
 				samples++;
 			}
 		}
+		ast_frfree(f);
 	}
 
 	if (rformat) {



More information about the asterisk-commits mailing list