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