* 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
|
@ -1,3 +1,7 @@
|
||||||
|
2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/wildcard.c (wildcard_expand): Fix wrong grub_free.
|
||||||
|
|
||||||
2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
|
2010-09-07 BVK Chaitanya <bvk.groups@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}.
|
* docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}.
|
||||||
|
|
|
@ -488,7 +488,7 @@ wildcard_expand (const char *s, char ***strs)
|
||||||
|
|
||||||
for (i = 0; paths && paths[i]; i++)
|
for (i = 0; paths && paths[i]; i++)
|
||||||
grub_free (paths[i]);
|
grub_free (paths[i]);
|
||||||
grub_free (paths[i]);
|
grub_free (paths);
|
||||||
regfree (®exp);
|
regfree (®exp);
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue