Fix a memory leak

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-07-06 18:21:24 +02:00
parent d1831ca48a
commit 697ffdc55b

View file

@ -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_free (bufio);
return GRUB_ERR_NONE;
}