From: Vladimir 'phcoder' Serbinenko Date: Wed, 1 Sep 2010 07:34:09 +0000 (+0200) Subject: Fix memory leak X-Git-Tag: 1.99~458^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48798b6a1e4553a0d19eb1df62c5ce6218377a17;p=thirdparty%2Fgrub.git Fix memory leak --- diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c index 90f7bf0d1..ac84fc426 100644 --- a/grub-core/commands/efi/lsefisystab.c +++ b/grub-core/commands/efi/lsefisystab.c @@ -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);