* grub-core/normal/autofs.c (read_fs_list): Revert accidental wrong
commit.
This commit is contained in:
parent
ba15b2afa0
commit
b2f6847735
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-05-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/autofs.c (read_fs_list): Revert accidental wrong
|
||||
commit.
|
||||
|
||||
2012-05-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
2012-05-01 Bean <bean123ch@gmail.com>
|
||||
|
||||
|
|
|
@ -109,14 +109,14 @@ read_fs_list (const char *prefix)
|
|||
continue;
|
||||
}
|
||||
|
||||
fs_mod = grub_malloc_notrack (sizeof (*fs_mod));
|
||||
fs_mod = grub_malloc (sizeof (*fs_mod));
|
||||
if (! fs_mod)
|
||||
{
|
||||
grub_free (buf);
|
||||
continue;
|
||||
}
|
||||
|
||||
fs_mod->name = grub_strdup_notrack (p);
|
||||
fs_mod->name = grub_strdup (p);
|
||||
grub_free (buf);
|
||||
if (! fs_mod->name)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue