[ros-diffs] [weiden] 17978: fixed some handle leaks in RegDeleteTree() in some failure cases