[ros-diffs] [gschneider] 42767: Check the correct buffer for failed memory allocation, found by Amine Khaldi