audit and make all malloc check for OOM

Signed-off-by: Andy Green <andy.green@linaro.org>
5 files changed