[Spice-devel] [RFC v4 10/62] server/red_worker: release PIPE_ITEM_TYPE_VERB in display channel

Alon Levy alevy at redhat.com
Tue Apr 26 03:54:35 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 d4db513..389af58 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9153,6 +9153,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.4.4



More information about the Spice-devel mailing list