[U-Boot] [U-Boot, v3, 18/21] sandbox: Use malloc() and free() from os layer

Tom Rini trini at konsulko.com
Mon Nov 26 18:44:40 UTC 2018


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 <sjg at chromium.org>
> Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20181126/689f6518/attachment.sig>


More information about the U-Boot mailing list