* grub-core/normal/autofs.c (read_fs_list): Revert accidental wrong

commit.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-01 15:26:36 +02:00
parent ba15b2afa0
commit b2f6847735
2 changed files with 7 additions and 2 deletions

View file

@ -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 Vladimir Serbinenko <phcoder@gmail.com>
2012-05-01 Bean <bean123ch@gmail.com> 2012-05-01 Bean <bean123ch@gmail.com>

View file

@ -109,14 +109,14 @@ read_fs_list (const char *prefix)
continue; continue;
} }
fs_mod = grub_malloc_notrack (sizeof (*fs_mod)); fs_mod = grub_malloc (sizeof (*fs_mod));
if (! fs_mod) if (! fs_mod)
{ {
grub_free (buf); grub_free (buf);
continue; continue;
} }
fs_mod->name = grub_strdup_notrack (p); fs_mod->name = grub_strdup (p);
grub_free (buf); grub_free (buf);
if (! fs_mod->name) if (! fs_mod->name)
{ {