Fix a memory leak
This commit is contained in:
parent
3a2e860334
commit
bfca152e5a
1 changed files with 2 additions and 0 deletions
|
@ -554,6 +554,8 @@ grub_net_recv_tcp_packet (struct grub_net_buff *nb,
|
|||
sock->unack_first = NULL;
|
||||
sock->unack_last = NULL;
|
||||
|
||||
grub_netbuff_free (nb);
|
||||
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue