<div dir="ltr">ack<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 30, 2013 at 9:07 PM, Yonit Halperin <span dir="ltr"><<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When a client disconnects, red_channel_client_pipe_clear is called.<br>
Releasing pipe items of type == MIGRATE||EMPTY_MSG||PING<br>
wasn't handled, and was passed to channel_cbs.release_item.<br>
There, an error occured since the pipe items were not recognized.<br>
---<br>
 server/red_channel.c | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/server/red_channel.c b/server/red_channel.c<br>
index b1a6d57..9047762 100644<br>
--- a/server/red_channel.c<br>
+++ b/server/red_channel.c<br>
@@ -576,6 +576,9 @@ static void red_channel_client_release_item(RedChannelClient *rcc, PipeItem *ite<br>
<br>
     switch (item->type) {<br>
         case PIPE_ITEM_TYPE_SET_ACK:<br>
+        case PIPE_ITEM_TYPE_EMPTY_MSG:<br>
+        case PIPE_ITEM_TYPE_MIGRATE:<br>
+        case PIPE_ITEM_TYPE_PING:<br>
             free(item);<br>
             break;<br>
         default:<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.0.1<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>