[svn-commits] dvossel: branch dvossel/fixtheworld_phase1_step3 r303675 - /team/dvossel/fixt...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 25 10:30:04 CST 2011


Author: dvossel
Date: Tue Jan 25 10:30:00 2011
New Revision: 303675

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303675
Log:
Allocate the nativeformats container with locking enabled

Modified:
    team/dvossel/fixtheworld_phase1_step3/main/channel.c

Modified: team/dvossel/fixtheworld_phase1_step3/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step3/main/channel.c?view=diff&rev=303675&r1=303674&r2=303675
==============================================================================
--- team/dvossel/fixtheworld_phase1_step3/main/channel.c (original)
+++ team/dvossel/fixtheworld_phase1_step3/main/channel.c Tue Jan 25 10:30:00 2011
@@ -1086,7 +1086,7 @@
 		/* Channel structure allocation failure. */
 		return NULL;
 	}
-	if (!(tmp->nativeformats = ast_format_cap_alloc_nolock())) {
+	if (!(tmp->nativeformats = ast_format_cap_alloc())) {
 		ao2_ref(tmp, -1);
 		/* format capabilities structure allocation failure */
 		return NULL;




More information about the svn-commits mailing list