Remove grub_list_pop
This commit is contained in:
parent
8cfa78770d
commit
0959e5ec30
5 changed files with 11 additions and 24 deletions
|
@ -66,8 +66,10 @@ free_failures (void)
|
|||
{
|
||||
grub_test_failure_t item;
|
||||
|
||||
while ((item = grub_list_pop (GRUB_AS_LIST_P (&failure_list))) != 0)
|
||||
while (failure_list)
|
||||
{
|
||||
item = failure_list;
|
||||
failure_list = item->next;
|
||||
if (item->message)
|
||||
grub_free (item->message);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue