search for: oh323_new

Displaying 1 result from an estimated 1 matches for "oh323_new".

2003 Aug 14
1
ast_channel_alloc() losing pvt struct
I don't understand the reasoning here so could somebody please help me out? chan_h323 is causing a segmentation fault when trying to connect a call. I tracked the problem back to chan_h323.c in the oh323_new() function. the code is: tmp = ast_channel_alloc( 1 ); After this point, tmp->pvt is not allocated (null pointer). HOWEVER, in the ast_channel_alloc() function right before the statement: return tmp; tmp->pvt IS allocated. Now between the statements: return tmp; and tmp = ... the pvt struc...