9d15b4
From 0a3a4d0b69b5d68f3e4b6b74fe2e6b5d4dcace4f Mon Sep 17 00:00:00 2001
9d15b4
From: Peter Jones <pjones@redhat.com>
9d15b4
Date: Tue, 14 Jun 2016 09:50:25 -0400
1b23a2
Subject: [PATCH 84/90] linuxefi: fix double free on verification failure.
9d15b4
9d15b4
Signed-off-by: Peter Jones <pjones@redhat.com>
9d15b4
---
9d15b4
 grub-core/loader/i386/efi/linux.c | 1 -
9d15b4
 1 file changed, 1 deletion(-)
9d15b4
9d15b4
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
9d15b4
index 82f75b7..010bf98 100644
9d15b4
--- a/grub-core/loader/i386/efi/linux.c
9d15b4
+++ b/grub-core/loader/i386/efi/linux.c
9d15b4
@@ -191,7 +191,6 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
9d15b4
     {
9d15b4
       grub_error (GRUB_ERR_INVALID_COMMAND, N_("%s has invalid signature"),
9d15b4
 		  argv[0]);
9d15b4
-      grub_free (kernel);
9d15b4
       goto fail;
9d15b4
     }
9d15b4
 
9d15b4
-- 
7ec92f
2.9.3
9d15b4