mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 03:56:30 +00:00
trivial: Fix an error path when getting firmware results
This commit is contained in:
parent
cff38bcb3a
commit
31bfba3d1b
@ -984,6 +984,7 @@ fu_main_get_item_by_id_fallback_pending (FuMainPrivate *priv, const gchar *id, G
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_FOUND,
|
||||
"no plugin %s found", tmp);
|
||||
return NULL;
|
||||
}
|
||||
item = g_new0 (FuDeviceItem, 1);
|
||||
item->device = g_object_ref (dev);
|
||||
|
Loading…
Reference in New Issue
Block a user