[ros-diffs] [cwittich] 32329: fix some memory and resource leaks fixes by janderwald and myself