[ros-diffs] [arty] 44238: Fix checking the wrong pointer for allocation failure, caught by Amine.