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