Merge "Check malloc result to avoid NPD" into lmp-dev am: e5734d88ad
am: f6e3609de2

* commit 'f6e3609de238b63860d0892b26c76ee35d24cf06':
  Check malloc result to avoid NPD

Change-Id: I72901f000c1285ae394664234e245063f87cfbf0