[ros-diffs] [cwittich] 29431: -fix a resource leak and two memory leaks