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