2009-11-16 Felix Zielcke <fzielcke@z-51.de>

* disk/mdraid_linux.c (grub_mdraid_detect): Remove a wrong call
	of free().
This commit is contained in:
Felix Zielcke 2009-11-16 21:52:10 +01:00
parent 4e962809b5
commit 8bcaed961a
2 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,12 @@
2009-11-16 Felix Zielcke <fzielcke@z-51.de> 2009-11-16 Felix Zielcke <fzielcke@z-51.de>
* disk/mdraid_linux.c: Fix the unsupported RAID version error * disk/mdraid_linux.c (grub_mdraid_detect): Remove a wrong call
with metadata 1.x. of free().
2009-11-16 Felix Zielcke <fzielcke@z-51.de>
* disk/mdraid_linux.c (grub_mdraid_detect): Fix the unsupported
RAID version error with metadata 1.x.
2009-11-06 Felix Zielcke <fzielcke@z-51.de> 2009-11-06 Felix Zielcke <fzielcke@z-51.de>

View file

@ -320,10 +320,7 @@ superblock_0_90:
array->uuid_len = 16; array->uuid_len = 16;
array->uuid = grub_malloc (16); array->uuid = grub_malloc (16);
if (!array->uuid) if (!array->uuid)
{
grub_free (sb_1x);
return grub_errno; return grub_errno;
}
uuid = (grub_uint32_t *) array->uuid; uuid = (grub_uint32_t *) array->uuid;
uuid[0] = sb.set_uuid0; uuid[0] = sb.set_uuid0;