* grub-core/commands/wildcard.c (wildcard_expand): Fix wrong

grub_free.
This commit is contained in:
bvk.groups@gmail.com 2010-09-07 17:16:03 +05:30
parent 4d69c7863b
commit b61d05ed19
2 changed files with 5 additions and 1 deletions

View file

@ -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>
* docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}.

View file

@ -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 (&regexp);
return grub_errno;
}