[ros-diffs] [mkupfer] 46476: - two small fixes (freeing resources on error)