Fix a memory leak

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-07-10 09:53:29 +02:00
parent 3a2e860334
commit bfca152e5a

View file

@ -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;
}