[ros-diffs] [turner] 20051: Check to make sure pointer isnt null after allocation. Fixes bug 1103.