* grub-core/normal/term.c (read_terminal_list): Free in a right order.
This commit is contained in:
parent
74ccb5b5e2
commit
e6d983ba6d
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/term.c (read_terminal_list): Free in a right order.
|
||||
|
||||
2010-09-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/script/execute.c (grub_script_execute_sourcecode): Set
|
||||
|
|
|
@ -376,8 +376,8 @@ read_terminal_list (const char *prefix)
|
|||
if (! cur->modname)
|
||||
{
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
grub_free (cur);
|
||||
grub_free (cur->name);
|
||||
grub_free (cur);
|
||||
continue;
|
||||
}
|
||||
cur->next = *target;
|
||||
|
|
Loading…
Reference in a new issue