[ros-diffs] [cwittich] 36402: fix some memory leaks (patch by Ged)