[PATCH 5.10 60/99] interconnect: fix mem leak when freeing nodes