1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Socket closing has its dedicated function

This commit is contained in:
Maria Matejka
2023-04-20 21:06:42 +02:00
parent 074739e0e9
commit b3f805ce29
13 changed files with 23 additions and 22 deletions

View File

@@ -417,7 +417,7 @@ cli_free(cli *c)
if (defer)
{
rfree(c->sock);
sk_close(c->sock);
c->sock = NULL;
}
else