From: BVK Chaitanya Date: Sat, 4 Sep 2010 08:49:04 +0000 (+0530) Subject: * grub-core/normal/completion.c (grub_normal_do_completion): Fix X-Git-Tag: 1.99~599 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25b60c913b4708f5dce0466a630e696b03e4be23;p=thirdparty%2Fgrub.git * grub-core/normal/completion.c (grub_normal_do_completion): Fix grub_free order. --- 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;