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 --- proto/rpki/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/rpki/transport.c') diff --git a/proto/rpki/transport.c b/proto/rpki/transport.c index 81bd6dd8..8c6dcc11 100644 --- a/proto/rpki/transport.c +++ b/proto/rpki/transport.c @@ -120,7 +120,7 @@ rpki_tr_close(struct rpki_tr_sock *tr) if (tr->sk) { - rfree(tr->sk); + sk_close(tr->sk); tr->sk = NULL; } } -- cgit v1.2.3