commit | 6009763acb95a94f12c89868e5a6c5fc2c687060 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 15 18:44:06 2018 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 26 08:25:37 2018 -0500 |
tree | d73157df72c6ba0dde7a4ba44cb712a7096d57d3 | |
parent | 7dafd02ce911ada502c1c9692cc33ca468fd34ff [diff] |
sandbox: Use malloc() and free() from os layer 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@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>