mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
Implement close in TFTP
This commit is contained in:
1 parent
0696f08f92
commit
31b5172bbd
1 file changed
+2
-1
@@ -157,7 +157,8 @@ tftp_receive (grub_net_socket_t sock, struct grub_net_buff *nb)
|
||||
static grub_err_t
|
||||
tftp_close (struct grub_file *file __attribute__ ((unused)))
|
||||
{
|
||||
return 0;
|
||||
grub_free (file->device->net->socket->data);
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
static struct grub_net_app_protocol grub_tftp_protocol =
|
||||
|
||||
Reference in new issue
Block a user