[Spice-devel] [RFCv5 10/47] server/red_worker: release PIPE_ITEM_TYPE_VERB in display channel

Alon Levy alevy at redhat.com
Sun May 8 06:11:06 PDT 2011


We send a SPICE_MSG_DISPLAY_MARK verb.
---
 server/red_worker.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 185e67a..1379b51 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9163,6 +9163,9 @@ static void display_channel_release_item(RedChannelClient *rcc, PipeItem *item,
     case PIPE_ITEM_TYPE_IMAGE:
         release_image_item((ImageItem *)item);
         break;
+    case PIPE_ITEM_TYPE_VERB:
+        free(item);
+        break;
     default:
         PANIC("invalid item type");
     }
-- 
1.7.5.1



More information about the Spice-devel mailing list