diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index fcc7c0ff7d..82a3e523bc 100644 --- a/src/qemu/qemu_hotplug.c +++ b/src/qemu/qemu_hotplug.c @@ -1170,7 +1170,7 @@ int qemuDomainAttachHostDevice(struct qemud_driver *driver, if (usbDeviceListAdd(list, usb) < 0) { usbFreeDevice(usb); - usb = NULL: + usb = NULL; goto cleanup; }