From 7863ce8a8edfd342b5708ab3687fcedaae4e3a46 Mon Sep 17 00:00:00 2001 From: domosekai <54519668+domosekai@users.noreply.github.com> Date: Mon, 12 Jul 2021 08:37:12 +0000 Subject: [PATCH] Cedar/IPC.c: Add hub release in NewIPC() --- src/Cedar/IPC.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Cedar/IPC.c b/src/Cedar/IPC.c index ecf76603..47821c1b 100644 --- a/src/Cedar/IPC.c +++ b/src/Cedar/IPC.c @@ -497,6 +497,8 @@ IPC *NewIPC(CEDAR *cedar, char *client_name, char *postfix, char *hubname, char ZeroIP4(&ipc->BroadcastAddress); } + ReleaseHub(hub); + ZeroIP4(&ipc->ClientIPAddress); MacToStr(macstr, sizeof(macstr), ipc->MacAddress);