[asterisk-commits] branch 1.2 r33548 - /branches/1.2/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jun 11 14:21:23 MST 2006


Author: russell
Date: Sun Jun 11 16:21:23 2006
New Revision: 33548

URL: http://svn.digium.com/view/asterisk?rev=33548&view=rev
Log:
fix another place where a frame does not get free'd

Modified:
    branches/1.2/pbx.c

Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=33548&r1=33547&r2=33548&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Sun Jun 11 16:21:23 2006
@@ -4908,8 +4908,10 @@
 			break;
 		if (f->frametype == AST_FRAME_CONTROL) {
 			if ((f->subclass == AST_CONTROL_BUSY)  ||
-				(f->subclass == AST_CONTROL_CONGESTION) )
-					break;
+			    (f->subclass == AST_CONTROL_CONGESTION) ) {
+				ast_frfree(f);
+				break;
+			}
 		}
 		ast_frfree(f);
 	}



More information about the asterisk-commits mailing list