mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 02:48:38 +00:00
trivial: Fix a recent regression causing a double-free
This was introduced accidentally in a9be536ef0
.
Fixes https://github.com/fwupd/fwupd/issues/1461
This commit is contained in:
parent
8feba21210
commit
cbf53fe52d
@ -1517,7 +1517,7 @@ fu_plugin_runner_usb_device_added (FuPlugin *self, FuUsbDevice *device, GError *
|
|||||||
FWUPD_ERROR,
|
FWUPD_ERROR,
|
||||||
FWUPD_ERROR_NOT_SUPPORTED))
|
FWUPD_ERROR_NOT_SUPPORTED))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
g_propagate_error (error, error_local);
|
g_propagate_error (error, g_steal_pointer (&error_local));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1566,7 +1566,7 @@ fu_plugin_runner_udev_device_added (FuPlugin *self, FuUdevDevice *device, GError
|
|||||||
FWUPD_ERROR,
|
FWUPD_ERROR,
|
||||||
FWUPD_ERROR_NOT_SUPPORTED))
|
FWUPD_ERROR_NOT_SUPPORTED))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
g_propagate_error (error, error_local);
|
g_propagate_error (error, g_steal_pointer (&error_local));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user