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:
Vladimir 'phcoder' Serbinenko committed 2010-02-24 15:21:36 +01:00
1 parent f17d332e49
commit 607ffde2ca
2 files changed
+7

No files matched your search

+1
View File
@@ -463,6 +463,7 @@ grub_multiboot_set_bootdev (void)
if ((p[0] >= 'a') && (p[0] <= 'z'))
part = p[0] - 'a';
}
grub_free (p);
}
if (dev)
grub_device_close (dev);