From b3f805ce29487f790090fcf31096f5a7cf1d585d Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 20 Apr 2023 21:06:42 +0200 Subject: Socket closing has its dedicated function --- nest/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/cli.c b/nest/cli.c index 1debfccf..39a3eef7 100644 --- a/nest/cli.c +++ b/nest/cli.c @@ -417,7 +417,7 @@ cli_free(cli *c) if (defer) { - rfree(c->sock); + sk_close(c->sock); c->sock = NULL; } else -- cgit v1.2.3