[Spice-devel] [RFC v4 09/62] server/red_client: clear pipe on disconnect
Alon Levy
alevy at redhat.com
Tue Apr 26 03:54:34 PDT 2011
---
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
More information about the Spice-devel
mailing list