[ros-diffs] [navaraf] 20118: Check for failed allocations. Spotted by Martin Bealby.