* grub-core/commands/wildcard.c (wildcard_expand): Fix wrong
grub_free.
This commit is contained in:
parent
4d69c7863b
commit
b61d05ed19
2 changed files with 5 additions and 1 deletions
|
@ -488,7 +488,7 @@ wildcard_expand (const char *s, char ***strs)
|
|||
|
||||
for (i = 0; paths && paths[i]; i++)
|
||||
grub_free (paths[i]);
|
||||
grub_free (paths[i]);
|
||||
grub_free (paths);
|
||||
regfree (®exp);
|
||||
return grub_errno;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue