mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-09 23:12:32 +00:00
worker: remove assertion on alloc_drawable
There is no guarantee in the code that this can't be hit, so we should cope with it (the condition can be reached easily by running the server without waiting for blocked clients or pipe size) The following commit will attempt to address this. Acked-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
2eb732bd4d
commit
5c7e248445
@ -3513,7 +3513,9 @@ static void free_one_drawable(RedWorker *worker, int force_glz_free)
|
||||
Drawable *drawable;
|
||||
Container *container;
|
||||
|
||||
spice_assert(ring_item);
|
||||
if (!ring_item) {
|
||||
return;
|
||||
}
|
||||
drawable = SPICE_CONTAINEROF(ring_item, Drawable, list_link);
|
||||
if (force_glz_free) {
|
||||
RingItem *glz_item, *next_item;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user