Blame SOURCES/0160-efinet-cannot-free-const-char-pointer.patch

6b3c76
From fe8c0ca495c7225682e2af47d0d77b4ad0077f34 Mon Sep 17 00:00:00 2001
a85e8e
From: Andrei Borzenkov <arvidjaar@gmail.com>
a85e8e
Date: Mon, 4 May 2015 08:39:29 +0300
6b3c76
Subject: [PATCH 160/261] efinet: cannot free const char * pointer
a85e8e
a85e8e
---
a85e8e
 grub-core/net/drivers/efi/efinet.c | 2 +-
a85e8e
 1 file changed, 1 insertion(+), 1 deletion(-)
a85e8e
a85e8e
diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
6b3c76
index 810adf38f..bb863e65a 100644
a85e8e
--- a/grub-core/net/drivers/efi/efinet.c
a85e8e
+++ b/grub-core/net/drivers/efi/efinet.c
a85e8e
@@ -298,7 +298,7 @@ GRUB_MOD_FINI(efinet)
a85e8e
 	grub_net_card_unregister (card);
a85e8e
 	grub_free (card->txbuf);
a85e8e
 	grub_free (card->rcvbuf);
a85e8e
-	grub_free (card->name);
a85e8e
+	grub_free ((char *)card->name);
a85e8e
 	grub_free (card);
a85e8e
       }
a85e8e
 }
6b3c76
-- 
6b3c76
2.13.5
6b3c76