From aa5d23fdecaec827ab0f7fc736e31ef1ffd6502e Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 12 Nov 2010 10:41:37 +0200 Subject: server/red_channel: reset send_data.item to NULL after release --- server/red_channel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server') diff --git a/server/red_channel.c b/server/red_channel.c index 8eb4e0d8..4330236a 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -683,6 +683,7 @@ void red_channel_pipe_clear(RedChannel *channel) ASSERT(channel); if (channel->send_data.item) { red_channel_release_item(channel, channel->send_data.item, TRUE); + channel->send_data.item = NULL; } while ((item = (PipeItem *)ring_get_head(&channel->pipe))) { ring_remove(&item->link); -- cgit