Hi

On Fri, Feb 17, 2012 at 9:44 AM, Alon Levy <al...@redhat.com> wrote:
> +/* called from spice server thread context only */
> +static void interface_async_complete(QXLInstance *sin, uint64_t cookie_token)
> +{
> +    PCIQXLDevice *qxl = container_of(sin, PCIQXLDevice, ssd.qxl);
> +    QXLCookie *cookie = (QXLCookie*)cookie_token;
> +
> +    switch (cookie->type) {

We still have spice_qxl_flush_surfaces_async(&qxl->ssd.qxl, 0);

So cookie might be NULL in this case.

-- 
Marc-André Lureau

Reply via email to