From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 26 Nov 2018 13:44:40 -0500 Subject: [U-Boot] [U-Boot, v3, 18/21] sandbox: Use malloc() and free() from os layer In-Reply-To: <20181116014409.147279-19-sjg@chromium.org> References: <20181116014409.147279-19-sjg@chromium.org> Message-ID: <20181126184440.GU11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 15, 2018 at 06:44:06PM -0700, Simon Glass wrote: > At present sandbox calls malloc() from various places in the OS layer and > this results in calls to U-Boot's malloc() implementation. It is better to > use the on in the OS layer, since it does not mix allocations with the > main U-Boot code. > > Fix this by replacing calls with malloc() to os_malloc(), etc. > > Signed-off-by: Simon Glass > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: