commit | 14e46dfb176b4505e4bafa545d3facb9228d40a9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Feb 06 09:57:32 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 02 15:53:37 2021 -0500 |
tree | bac3b3bb1b32f58bccb80c6616bc7d57ca899d7d | |
parent | 869badca616113c7002d934f549bb80f948f9900 [diff] |
sandbox: Add os_realloc() We provide os_malloc() and os_free() but not os_realloc(). Add this, following the usual semantics. Also update os_malloc() to behave correctly when passed a zero size. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>