[asterisk-commits] rmudgett: trunk r217236 - /trunk/channels/sig_pri.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 8 16:17:18 CDT 2009


Author: rmudgett
Date: Tue Sep  8 16:17:16 2009
New Revision: 217236

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217236
Log:
Remove duplicate entry in the sig_pri_pri private pointer array.

Modified:
    trunk/channels/sig_pri.c

Modified: trunk/channels/sig_pri.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/sig_pri.c?view=diff&rev=217236&r1=217235&r2=217236
==============================================================================
--- trunk/channels/sig_pri.c (original)
+++ trunk/channels/sig_pri.c Tue Sep  8 16:17:16 2009
@@ -3045,7 +3045,6 @@
 	struct sig_pri_chan *p;
 
 	p = ast_calloc(1, sizeof(*p));
-
 	if (!p)
 		return p;
 
@@ -3056,7 +3055,6 @@
 	p->calls = callback;
 	p->chan_pvt = pvt_data;
 
-	pri->pvts[pri->numchans++] = p;
 	p->pri = pri;
 
 	return p;




More information about the asterisk-commits mailing list