# HG changeset patch # User Sebastien Decugis # Date 1266222960 -32400 # Node ID a68d24defda83c7c7b5a7ef16b4c183d144521db # Parent 8eda7c917fc6acb70d54b1c3d1009f34d43b6c1b Delay the destruction of the queues in sctps wrapper diff -r 8eda7c917fc6 -r a68d24defda8 freeDiameter/sctps.c --- a/freeDiameter/sctps.c Fri Feb 12 18:39:46 2010 +0900 +++ b/freeDiameter/sctps.c Mon Feb 15 17:36:00 2010 +0900 @@ -118,11 +118,6 @@ CHECK_FCT_DO( fd_event_send( Target_Queue(conn), FDEVP_CNX_ERROR, 0, NULL), /* continue or destroy everything? */); } - /* Since the demux thread terminates, we must trig an error for all decipher threads. We do this by destroying all demuxed FIFO queues */ - for (strid = 0; strid < conn->cc_sctp_para.pairs; strid++) { - fd_event_destroy( &conn->cc_sctps_data.array[strid].raw_recv, free ); - } - goto out; }