-
- Downloads
- dynamically allocate the ast_jb structure that is on the channel structure
so that channels not using a jitterbuffer don't waste as much memory - ensure that the channel drivers that use jitterbuffers can handle a failure from configuring a jitterbuffer on a new channel because of a memory allocation error - On passing through these channel drivers, configure the jitterbuffer before starting the PBX thread instead of afterwards. If the pbx fails to start for whatever reason, this would have caused a crash. - Also on passing, move the increase of the usecount to after all of the possible failure conditions in the function - fix a place where ast_update_use_count() was not called - ensure that the owner channel pointer of the channel pvt strcutures is set to NULL in failure conditions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- abstract_jb.c 27 additions, 15 deletionsabstract_jb.c
- channels/chan_alsa.c 11 additions, 7 deletionschannels/chan_alsa.c
- channels/chan_h323.c 13 additions, 8 deletionschannels/chan_h323.c
- channels/chan_jingle.c 14 additions, 7 deletionschannels/chan_jingle.c
- channels/chan_mgcp.c 12 additions, 8 deletionschannels/chan_mgcp.c
- channels/chan_oss.c 12 additions, 9 deletionschannels/chan_oss.c
- channels/chan_sip.c 13 additions, 7 deletionschannels/chan_sip.c
- channels/chan_skinny.c 16 additions, 9 deletionschannels/chan_skinny.c
- channels/chan_zap.c 14 additions, 8 deletionschannels/chan_zap.c
- include/asterisk/abstract_jb.h 8 additions, 2 deletionsinclude/asterisk/abstract_jb.h
- include/asterisk/channel.h 1 addition, 1 deletioninclude/asterisk/channel.h
Loading
Please register or sign in to comment