* grub-core/net/net.c (grub_cmd_delroute): Add missing out condition.
This commit is contained in:
parent
3ea1ca46c1
commit
a93964ce11
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/net/net.c (grub_cmd_delroute): Add missing out condition.
|
||||||
|
|
||||||
2011-12-23 Seth Goldberg <seth.goldberg@oracle.com>
|
2011-12-23 Seth Goldberg <seth.goldberg@oracle.com>
|
||||||
|
|
||||||
* grub-core/Makefile.core.def (lzma_decompress): Add missing
|
* grub-core/Makefile.core.def (lzma_decompress): Add missing
|
||||||
|
|
|
@ -934,6 +934,8 @@ grub_cmd_delroute (struct grub_command *cmd __attribute__ ((unused)),
|
||||||
*prev = route->next;
|
*prev = route->next;
|
||||||
grub_free (route->name);
|
grub_free (route->name);
|
||||||
grub_free (route);
|
grub_free (route);
|
||||||
|
if (!*prev)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
|
|
Loading…
Reference in a new issue