---
 grub-core/fs/android_bootimg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/grub-core/fs/android_bootimg.c b/grub-core/fs/android_bootimg.c
index 249f8ca..793e0aa 100644
--- a/grub-core/fs/android_bootimg.c
+++ b/grub-core/fs/android_bootimg.c
@@ -216,7 +216,8 @@ grub_android_bootimg_read (grub_file_t file, char *buf, 
grub_size_t len)
 static grub_err_t
 grub_android_bootimg_close (grub_file_t file)
 {
-  return GRUB_ERR_NOT_IMPLEMENTED_YET;
+  grub_free (file->data);
+  return GRUB_ERR_NONE;
 }
 
 static struct grub_fs grub_android_bootimg_fs = {
-- 
2.7.0


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to