--- server/red_worker.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/server/red_worker.c b/server/red_worker.c index 3b62311..b2f514a 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -8965,6 +8965,7 @@ static void red_send_surface_create(DisplayChannel *display, SpiceMsgSurfaceCrea ASSERT(display); channel = &display->base; + region_init(&display->surface_client_lossy_region[surface_create->surface_id]); channel->send_data.header.type = SPICE_MSG_DISPLAY_SURFACE_CREATE; display->send_data.u.surface_create = *surface_create; @@ -8981,6 +8982,7 @@ static void red_send_surface_destroy(DisplayChannel *display, uint32_t surface_i ASSERT(display); channel = &display->base; + region_destroy(&display->surface_client_lossy_region[surface_id]); channel->send_data.header.type = SPICE_MSG_DISPLAY_SURFACE_DESTROY; display->send_data.u.surface_destroy.surface_id = surface_id; -- 1.6.6.1 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel