Acked-by: Christophe Fergeau <[email protected]>

On Mon, Sep 04, 2017 at 11:57:14AM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  server/tests/test-display-base.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/tests/test-display-base.c 
> b/server/tests/test-display-base.c
> index ed62a607..d6b2dd07 100644
> --- a/server/tests/test-display-base.c
> +++ b/server/tests/test-display-base.c
> @@ -678,7 +678,7 @@ static void release_resource(SPICE_GNUC_UNUSED 
> QXLInstance *qin,
>              break;
>          case QXL_CMD_CURSOR: {
>              QXLCursorCmd *cmd = (QXLCursorCmd *)(unsigned long)ext->cmd.data;
> -            if (cmd->type == QXL_CURSOR_SET) {
> +            if (cmd->type == QXL_CURSOR_SET || cmd->type == QXL_CURSOR_MOVE) 
> {
>                  free(cmd);
>              }
>              free(ext);
> -- 
> 2.13.5
> 
> _______________________________________________
> Spice-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to