* 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

@ -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;
}