mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-12 12:26:46 +00:00
uefi-capsule: Fix a tiny memory leak when falling back to the app path
Found by Coverity.
This commit is contained in:
parent
0e870cc576
commit
f45c10bd26
@ -301,6 +301,7 @@ fu_uefi_bootmgr_bootnext(FuDevice *device,
|
||||
if (fu_device_has_private_flag(
|
||||
device,
|
||||
FU_UEFI_DEVICE_FLAG_FALLBACK_TO_REMOVABLE_PATH)) {
|
||||
g_free(shim_app);
|
||||
shim_app =
|
||||
fu_uefi_get_fallback_app_path(device, esp_path, "boot", error);
|
||||
if (shim_app == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user