[ros-diffs] [weiden] 31496: Fix some handle leaks and warnings