mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
bootspec: fix memleak caused by setting invalid cleanup function
This commit is contained in:
parent
7226337574
commit
18268197fa
@ -736,7 +736,7 @@ int boot_entries_augment_from_loader(BootConfig *config, bool only_auto) {
|
|||||||
"auto-reboot-to-firmware-setup", "Reboot Into Firmware Interface",
|
"auto-reboot-to-firmware-setup", "Reboot Into Firmware Interface",
|
||||||
};
|
};
|
||||||
|
|
||||||
_cleanup_free_ char **found_by_loader = NULL;
|
_cleanup_strv_free_ char **found_by_loader = NULL;
|
||||||
size_t n_allocated;
|
size_t n_allocated;
|
||||||
char **i;
|
char **i;
|
||||||
int r;
|
int r;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user