mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 15:54:13 +00:00
Fix memory leak
This commit is contained in:
parent
105de6a758
commit
48798b6a1e
@ -63,6 +63,7 @@ grub_cmd_lsefisystab (struct grub_command *cmd __attribute__ ((unused)),
|
||||
*grub_utf16_to_utf8 ((grub_uint8_t *) vendor, st->firmware_vendor,
|
||||
vendor_utf16 - st->firmware_vendor) = 0;
|
||||
grub_printf ("%s", vendor);
|
||||
grub_free (vendor);
|
||||
}
|
||||
|
||||
grub_printf (", Version=%x\n", st->firmware_revision);
|
||||
|
Loading…
Reference in New Issue
Block a user