On Fri, May 13, 2016 at 12:25:09PM +0100, Frediano Ziglio wrote:
> This regression was introduced by commit
> 18d3876b78c7f19c577da000d322dbd44e63e456
> ("UpgradeItem: use base PipeItem for refcounting")
> 
> This fix https://bugs.freedesktop.org/show_bug.cgi?id=95365.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  server/stream.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/stream.c b/server/stream.c
> index 8884480..35eb7c2 100644
> --- a/server/stream.c
> +++ b/server/stream.c
> @@ -761,7 +761,7 @@ void stream_agent_stop(StreamAgent *agent)
>  static void red_upgrade_item_free(RedUpgradeItem *item)
>  {
>      g_return_if_fail(item != NULL);
> -    g_return_if_fail(item->base.refcount != 0);
> +    g_return_if_fail(item->base.refcount == 0);


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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to