From 6eed5b5a4c4f40b4bea27ce49688e5c079badb76 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 30 Mar 2023 11:30:43 +0900 Subject: [PATCH] typo --- src/main/process.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/process.c b/src/main/process.c index a6b2dc4921..b70acecb73 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -5365,7 +5365,9 @@ static void listener_free_cb(void *ctx) this->print(this, buffer, sizeof(buffer)); DEBUG("... cleaning up socket %s", buffer); rad_assert(this->next == NULL); - TALLOC_FREE(&sock->ev); +#ifdef WITH_TCP + TALLOC_FREE(sock->ev); +#endif talloc_free(this); } -- 2.47.3