mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Fix a memory leak
This commit is contained in:
1 parent
3a2e860334
commit
bfca152e5a
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user