The struct is g_new0() already. --- gtk/usb-device-manager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c index af993aa..c87efd5 100644 --- a/gtk/usb-device-manager.c +++ b/gtk/usb-device-manager.c @@ -1565,9 +1565,6 @@ void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *self, cbinfo->manager = self; cbinfo->device = device; cbinfo->installer = installer; - cbinfo->cancellable = NULL; - cbinfo->callback = NULL; - cbinfo->user_data = NULL; spice_win_usb_driver_uninstall_async(installer, device, NULL, spice_usb_device_manager_drv_uninstall_cb, -- 1.8.5.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel