From: Alan T. DeKok Date: Thu, 30 Mar 2023 02:30:43 +0000 (+0900) Subject: typo X-Git-Tag: release_3_2_3~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eed5b5a4c4f40b4bea27ce49688e5c079badb76;p=thirdparty%2Ffreeradius-server.git typo --- 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); }