2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
* loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Fix a memory leak. Reported by: Seth Goldberg.
This commit is contained in:
parent
f17d332e49
commit
607ffde2ca
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-02-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Fix a
|
||||||
|
memory leak.
|
||||||
|
Reported by: Seth Goldberg.
|
||||||
|
|
||||||
2010-02-24 Joey Korkames <joey+lists@kidfixit.com>
|
2010-02-24 Joey Korkames <joey+lists@kidfixit.com>
|
||||||
|
|
||||||
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Remove
|
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Remove
|
||||||
|
|
|
@ -463,6 +463,7 @@ grub_multiboot_set_bootdev (void)
|
||||||
if ((p[0] >= 'a') && (p[0] <= 'z'))
|
if ((p[0] >= 'a') && (p[0] <= 'z'))
|
||||||
part = p[0] - 'a';
|
part = p[0] - 'a';
|
||||||
}
|
}
|
||||||
|
grub_free (p);
|
||||||
}
|
}
|
||||||
if (dev)
|
if (dev)
|
||||||
grub_device_close (dev);
|
grub_device_close (dev);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue