Simon Goldschmidt f3da76ea8b malloc_simple: calloc: don't call memset if malloc failed
malloc_simple() can return 0 if out of memory. Don't call memset
from calloc() in this case but rely on the caller checking
the return value.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2018-08-24 13:20:19 -04:00
..
2013-04-01 16:33:52 -04:00
2018-06-19 07:31:45 -04:00
2013-04-01 16:33:52 -04:00
2018-06-13 07:49:13 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2018-08-20 07:21:29 -04:00
2018-06-05 20:19:08 -04:00
2017-08-16 08:30:24 -04:00