Issue #34: Free path data during path_cleanup