mirror of
https://codeberg.org/Limine/Limine
synced 2026-01-26 13:14:28 +00:00
menu: Fix pmm_free() call with off-by-one length
This commit is contained in:
parent
7ee698d544
commit
e6bd838bc6
@ -827,7 +827,7 @@ noreturn void _menu(bool first_run) {
|
||||
if (interface_help_colour_str != NULL) {
|
||||
interface_help_colour[3] = interface_help_colour_str[0];
|
||||
interface_help_colour_bright[3] = interface_help_colour_str[0];
|
||||
pmm_free(interface_help_colour_str, strlen(interface_help_colour_str));
|
||||
pmm_free(interface_help_colour_str, strlen(interface_help_colour_str) + 1);
|
||||
}
|
||||
|
||||
menu_branding = config_get_value(NULL, 0, "INTERFACE_BRANDING");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user