mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 17:49:02 +00:00
usbredir: Fix crash caused by MC changes
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
e1570ce519
commit
22a6eef60d
@ -259,6 +259,7 @@ int usbredir_device_connect(SpiceCharDeviceInstance *sin)
|
||||
state->chardev_sin = sin;
|
||||
state->rcv_buf = spice_malloc(BUF_SIZE);
|
||||
state->rcv_buf_size = BUF_SIZE;
|
||||
redir_chan->state = state;
|
||||
|
||||
client_cbs.connect = usbredir_connect;
|
||||
client_cbs.migrate = usbredir_migrate;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user