[PATCH 6.2 133/211] interconnect: fix mem leak when freeing nodes