Fix a memory leak
This commit is contained in:
parent
d1831ca48a
commit
697ffdc55b
1 changed files with 1 additions and 0 deletions
|
@ -725,6 +725,7 @@ grub_net_fs_open (struct grub_file *file_out, const char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
grub_memcpy (file_out, bufio, sizeof (struct grub_file));
|
grub_memcpy (file_out, bufio, sizeof (struct grub_file));
|
||||||
|
grub_free (bufio);
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue