[svn-commits] file: trunk r65376 - /trunk/res/res_features.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue May 22 05:58:38 MST 2007


Author: file
Date: Tue May 22 07:58:38 2007
New Revision: 65376

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65376
Log:
Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)

Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?view=diff&rev=65376&r1=65375&r2=65376
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Tue May 22 07:58:38 2007
@@ -2209,7 +2209,7 @@
 		return 1;
 	}
 
-	if (!(tmpchana = ast_channel_alloc(0, AST_STATE_DOWN, NULL, NULL, NULL, 
+	if (!(tmpchanb = ast_channel_alloc(0, AST_STATE_DOWN, NULL, NULL, NULL, 
 		NULL, NULL, 0, "Bridge/%s", chanb->name))) {
 		astman_send_error(s, m, "Unable to create temporary channels!");
 		ast_channel_free(tmpchana);



More information about the svn-commits mailing list