]> git.dujemihanovic.xyz Git - u-boot.git/commit
malloc: Support testing with realloc()
authorSimon Glass <sjg@chromium.org>
Tue, 30 Jul 2024 14:39:35 +0000 (08:39 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 7 Aug 2024 14:49:10 +0000 (08:49 -0600)
commit04894f5ad53cab0ee03eb3bc1cc1682e22f5dd1b
tree9dd6e83984ac9d1f633bda441591573d2ce1f5b7
parentc0d269da3c8492d4b81bbcb79a66f6d4a49f7610
malloc: Support testing with realloc()

At present in tests it is possible to cause an out-of-memory condition
with malloc() but not realloc(). Add support to realloc() too, so code
which uses that function can be tested.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/dlmalloc.c