File 0002-grub-core-disk-lzopio.c-fix-double-free-in-error-pat.patch of Package grub2.2691

From 343dad410eaa37f4f02eff6a4a4114102d211a28 Mon Sep 17 00:00:00 2001
From: Andrei Borzenkov <arvidjaar@gmail.com>
Date: Fri, 28 Nov 2014 22:37:00 +0300
Subject: [PATCH] grub-core/disk/lzopio.c: fix double free in error path

CID: 73665
---
 ChangeLog             | 1 +
 grub-core/io/lzopio.c | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

Index: grub-2.02~beta2/grub-core/io/lzopio.c
===================================================================
--- grub-2.02~beta2.orig/grub-core/io/lzopio.c
+++ grub-2.02~beta2/grub-core/io/lzopio.c
@@ -403,8 +403,6 @@ test_header (grub_file_t file)
   return 1;
 
 CORRUPTED:
-  grub_free(name);
-
   return 0;
 }