mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 21:02:29 +00:00
ebitdo: Fix a double-unref when updating the device
This can cause the daemon to emit a critical warning...
This commit is contained in:
parent
06a4fe4d9a
commit
876e5e0c35
@ -113,9 +113,9 @@ fu_plugin_update (FuPlugin *plugin,
|
||||
GError **error)
|
||||
{
|
||||
GUsbContext *usb_ctx = fu_plugin_get_usb_context (plugin);
|
||||
FuDeviceEbitdo *ebitdo_dev = FU_DEVICE_EBITDO (dev);
|
||||
const gchar *platform_id;
|
||||
g_autoptr(FuDeviceLocker) locker = NULL;
|
||||
g_autoptr(FuDeviceEbitdo) ebitdo_dev = FU_DEVICE_EBITDO (dev);
|
||||
g_autoptr(GUsbDevice) usb_device = NULL;
|
||||
|
||||
/* get version */
|
||||
|
Loading…
Reference in New Issue
Block a user