* grub-core/normal/completion.c (grub_normal_do_completion): Fix

grub_free order.
This commit is contained in:
BVK Chaitanya committed 2010-09-04 14:19:04 +05:30
1 parent 37e7bf68c5
commit 25b60c913b
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -500,8 +500,8 @@ grub_normal_do_completion (char *buf, int *restore,
fail:
if (argc != 0)
{
grub_free (argv);
grub_free (argv[0]);
grub_free (argv);
}
grub_free (match);
grub_errno = GRUB_ERR_NONE;