Re: [Spice-devel] [spice-gtk 03/13] usb-redir: reuse libusb context under Windows

2019-03-11 Thread Christophe Fergeau
On Sun, Mar 10, 2019 at 04:46:02PM +0200, Yuri Benditovich wrote: > Do not create own libusb context in usb-device-manager. > Reuse existing context created by win-usb-dev instead. I'd rephrase this slightly « On Windows, do not create a new libusb context in usb-device-manager.c, but reuse the

[Spice-devel] [spice-gtk 03/13] usb-redir: reuse libusb context under Windows

2019-03-10 Thread Yuri Benditovich
Do not create own libusb context in usb-device-manager. Reuse existing context created by win-usb-dev instead. Signed-off-by: Yuri Benditovich --- src/usb-device-manager.c | 11 +-- src/win-usb-dev.c| 4 src/win-usb-dev.h| 1 + 3 files changed, 10 insertions(+), 6