diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-08-24 16:34:45 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-08-25 14:04:27 +0200 |
commit | 22a6eef60dbeb49b07461107c55fb0cbc7ae73c0 (patch) | |
tree | 7fc189f1676f07c2d71d549bac813cd537b2f7f2 | |
parent | e1570ce519711be803ee5e8736187d8f7da9789c (diff) | |
download | spice-22a6eef60dbeb49b07461107c55fb0cbc7ae73c0.tar.gz spice-22a6eef60dbeb49b07461107c55fb0cbc7ae73c0.tar.xz spice-22a6eef60dbeb49b07461107c55fb0cbc7ae73c0.zip |
usbredir: Fix crash caused by MC changes
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | server/usbredir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/usbredir.c b/server/usbredir.c index 11c4058e..eb9b91ff 100644 --- a/server/usbredir.c +++ b/server/usbredir.c @@ -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; |