[svn-commits] russell: branch russell/ast_channel_ao2 r183390 - /team/russell/ast_channel_a...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 19 15:08:05 CDT 2009


Author: russell
Date: Thu Mar 19 15:08:01 2009
New Revision: 183390

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183390
Log:
make chan_bridge compile

Modified:
    team/russell/ast_channel_ao2/channels/chan_bridge.c

Modified: team/russell/ast_channel_ao2/channels/chan_bridge.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/channels/chan_bridge.c?view=diff&rev=183390&r1=183389&r2=183390
==============================================================================
--- team/russell/ast_channel_ao2/channels/chan_bridge.c (original)
+++ team/russell/ast_channel_ao2/channels/chan_bridge.c Thu Mar 19 15:08:01 2009
@@ -205,7 +205,7 @@
 		return NULL;
 	}
 	if (!(p->output = ast_channel_alloc(1, AST_STATE_UP, 0, 0, "", "", "", 0, "Bridge/%p-output", p))) {
-		ast_channel_free(p->input);
+		p->input = ast_channel_release(p->input);
 		ast_free(p);
 		return NULL;
 	}




More information about the svn-commits mailing list