tipc: fix UAF in error path (CVE-2024-36886) | HOL Guard CVE