efinet: cannot free const char * pointer
This commit is contained in:
parent
8d3c4544ff
commit
47b2bee3ef
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue