From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8JHu-0002Mv-2u for barebox@lists.infradead.org; Thu, 12 Sep 2019 07:13:07 +0000 From: Sascha Hauer Date: Thu, 12 Sep 2019 09:13:01 +0200 Message-Id: <20190912071301.28715-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] bootm: release tee_res To: Barebox List When a tee_res has been acquired it must be released when bootm returns (for dryrun) Signed-off-by: Sascha Hauer --- common/bootm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/bootm.c b/common/bootm.c index d7232f6afa..b50b76ed6f 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -682,6 +682,8 @@ err_out: release_sdram_region(data->initrd_res); if (data->oftree_res) release_sdram_region(data->oftree_res); + if (data->tee_res) + release_sdram_region(data->tee_res); if (data->initrd && data->initrd != data->os) uimage_close(data->initrd); if (data->os) -- 2.23.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox