Merge "Check malloc result to avoid NPD" into lmp-dev am: e5734d88ad am: f6e3609de2 am: 6d1da7d539 am: 1d45547854
am: 90fe9f1413

* commit '90fe9f14134c1dbec758f0330ac9d11fa8093ecc':
  Check malloc result to avoid NPD

Change-Id: I0e8e1265e0f64766eff799ea339d10a489a356b3