malloc_simple: Add a little more debugging
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:27:55 +0000 (19:27 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:23 +0000 (10:27 +0800)
commit9a01cca75067496b28e9b81477e80953b7a96857
tree448cbf8381f1264bccb04041f6d6e0dc47bdc56a
parent4974a6ff048fecba6077bf3101c6aba830e038c7
malloc_simple: Add a little more debugging

Output the pointer returned by each call to malloc(). This can be useful
when debugging memory problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/malloc_simple.c