mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 11:33:03 +00:00
dc: the link condition make this case terminate loop
dpi_ring_item is changed but ignored Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
a5a9b38f46
commit
1d39275c3d
@ -483,7 +483,7 @@ static int current_add_equal(DisplayChannel *display, DrawItem *item, TreeItem *
|
||||
dpi = SPICE_UPCAST(RedDrawablePipeItem, dpi_ring_item);
|
||||
for (;;) {
|
||||
if (!link) {
|
||||
break;
|
||||
goto out_loop;
|
||||
}
|
||||
if (dpi && dcc == dpi->dcc) {
|
||||
break;
|
||||
@ -501,6 +501,7 @@ static int current_add_equal(DisplayChannel *display, DrawItem *item, TreeItem *
|
||||
link = link->next;
|
||||
}
|
||||
}
|
||||
out_loop:
|
||||
/* not sending other_drawable where possible */
|
||||
drawable_remove_from_pipes(other_drawable);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user