From 25b60c913b4708f5dce0466a630e696b03e4be23 Mon Sep 17 00:00:00 2001 From: BVK Chaitanya Date: Sat, 4 Sep 2010 14:19:04 +0530 Subject: [PATCH] * grub-core/normal/completion.c (grub_normal_do_completion): Fix grub_free order. --- ChangeLog | 5 +++++ grub-core/normal/completion.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44c2d178d..371e910c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-04 BVK Chaitanya + + * grub-core/normal/completion.c (grub_normal_do_completion): Fix + grub_free order. + 2010-09-04 BVK Chaitanya Support for passing block of commands as an argument to extcmds. diff --git a/grub-core/normal/completion.c b/grub-core/normal/completion.c index d127f9baf..1b51dab3a 100644 --- a/grub-core/normal/completion.c +++ b/grub-core/normal/completion.c @@ -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;