mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 15:17:01 +00:00
trivial: Fix a small critical warning for broken USB devices
This commit is contained in:
parent
a48361f82f
commit
e49b266fd5
@ -219,6 +219,7 @@ fu_provider_chug_get_firmware_version (FuProviderChugItem *item)
|
||||
|
||||
out:
|
||||
/* we're done here */
|
||||
g_clear_error (&error);
|
||||
if (!g_usb_device_close (item->usb_device, &error))
|
||||
g_debug ("Failed to close: %s", error->message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user