mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-10 01:32:16 +00:00
fix wrong assert causing streaming to crash
This regression was introduced by commit
18d3876b78
("UpgradeItem: use base PipeItem for refcounting")
This fix https://bugs.freedesktop.org/show_bug.cgi?id=95365.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
7673b388f5
commit
2c3fc80e51
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user