Fix use after free
This commit is contained in:
parent
6782f6d431
commit
1624d0ffc6
1 changed files with 1 additions and 1 deletions
|
@ -147,8 +147,8 @@ read_crypto_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 = crypto_specs;
|
||||
|
|
Loading…
Reference in a new issue