[Spice-commits] server/stream.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Fri May 13 11:38:22 UTC 2016
server/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2c3fc80e5187405756fa2d29fad1696588f15c51
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri May 13 12:24:49 2016 +0100
fix wrong assert causing streaming to crash
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 <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
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);
drawable_unref(item->drawable);
free(item->rects);
More information about the Spice-commits
mailing list