efinet: cannot free const char * pointer

This commit is contained in:
Andrei Borzenkov 2015-05-04 08:39:29 +03:00
parent 8d3c4544ff
commit 47b2bee3ef

View file

@ -282,7 +282,7 @@ GRUB_MOD_FINI(efinet)
grub_net_card_unregister (card);
grub_free (card->txbuf);
grub_free (card->rcvbuf);
grub_free (card->name);
grub_free ((char *)card->name);
grub_free (card);
}
}