[Spice-devel] [spice PATCH 13/55] red_channel: fix pipe item leak
Yonit Halperin
yhalperi at redhat.com
Wed Aug 15 00:55:53 PDT 2012
---
server/red_channel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/server/red_channel.c b/server/red_channel.c
index 1cad9eb..a108bc2 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -461,6 +461,7 @@ static void red_channel_client_send_item(RedChannelClient *rcc, PipeItem *item)
switch (item->type) {
case PIPE_ITEM_TYPE_SET_ACK:
red_channel_client_send_set_ack(rcc);
+ free(item);
break;
default:
handled = FALSE;
--
1.7.7.6
More information about the Spice-devel
mailing list