summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/red_channel.c1
1 files changed, 1 insertions, 0 deletions
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);