[PATCH 6.1 132/198] interconnect: fix mem leak when freeing nodes