[asterisk-dev] channel.c seqfaults

Russell Bryant russell at digium.com
Sat Feb 3 18:24:37 MST 2007


David Bowerman wrote:
> My question is does an ast_channel's readq member need to be
> initialised somehow after a call to ast_channel_alloc() ?

Nope.  The channel structure is allocated using calloc().  The list head 
structure for the readq is just a head and tail pointer.  So, they are 
automatically initialized to NULL, which is the correct thing to do.

The problem is elsewhere ...

-- 
Russell Bryant
Software Engineer
Digium, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: russell.vcf
Type: text/x-vcard
Size: 266 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070203/d4c39380/russell.vcf


More information about the asterisk-dev mailing list