[Spice-devel] [PATCH 08/12] server/inputs_channel: don't forget to free PipeItem

Alon Levy alevy at redhat.com
Mon Dec 6 02:49:15 PST 2010


---
 server/inputs_channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index e4e75b7..f6279d5 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -234,6 +234,7 @@ static void inputs_channel_release_pipe_item(RedChannel *channel,
     if (item->data) {
         free(item->data);
     }
+    free(item);
 }
 
 static void inputs_channel_send_item(RedChannel *channel, PipeItem *base)
-- 
1.7.3.2



More information about the Spice-devel mailing list