---
 server/red_channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index b124980..3a28304 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -863,7 +863,7 @@ void red_channel_client_disconnect(RedChannelClient *rcc)
     if (rcc->send_data.item) {
         rcc->channel->release_item(rcc, rcc->send_data.item, FALSE);
     }
-    // TODO: clear our references from the pipe
+    red_channel_client_pipe_clear(rcc);
     reds_stream_free(rcc->stream);
     rcc->send_data.item = NULL;
     rcc->send_data.blocked = FALSE;
-- 
1.7.4.4

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to