Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aO8iF-0001Dw-8Q for mharc-grub-devel@gnu.org; Tue, 26 Jan 2016 13:51:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8iC-0001CU-WB for grub-devel@gnu.org; Tue, 26 Jan 2016 13:51:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8iC-0001qB-9C for grub-devel@gnu.org; Tue, 26 Jan 2016 13:51:32 -0500 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:54578 helo=homiemail-a114.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8iC-0001q1-3L for grub-devel@gnu.org; Tue, 26 Jan 2016 13:51:32 -0500 Received: from homiemail-a114.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a114.g.dreamhost.com (Postfix) with ESMTP id 8C746600CF22E; Tue, 26 Jan 2016 10:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=shealevy.com; h=from:to:cc :subject:date:message-id:in-reply-to:references; s=shealevy.com; bh=HLLg/3XuKRkh/sELo6sIFLryk8E=; b=byVspYyd4rlwxBwcEQW5L5VfNnG2 Dx7jRmuph+BbhbpPHbGhEvZ0ycWY8qHqyQ+2mgn7G+K2BzWvjctekJ8hz1JbUrf1 FtCo4kQiorW0gJ3SpqDmpiOv3uU3Cls5bvOFgOx6+Np2eZhnTTf4TRZdHy+7FbTl 30khsKdfnWPmgjs= Received: from shlevy-laptop.hsd1.nh.comcast.net. (c-73-186-74-217.hsd1.nh.comcast.net [73.186.74.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: shea@shealevy.com) by homiemail-a114.g.dreamhost.com (Postfix) with ESMTPSA id 149A2600CF230; Tue, 26 Jan 2016 10:51:30 -0800 (PST) From: Shea Levy To: The development of GNU GRUB Subject: [PATCH 4/7] android_bootimg: Implement close Date: Tue, 26 Jan 2016 13:51:19 -0500 Message-Id: <1453834282-28691-5-git-send-email-shea@shealevy.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453834282-28691-1-git-send-email-shea@shealevy.com> References: <1453834282-28691-1-git-send-email-shea@shealevy.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.113.200.129 Cc: Shea Levy X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 18:51:34 -0000 --- 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