summaryrefslogtreecommitdiff
path: root/proto/rpki/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rpki/transport.c')
-rw-r--r--proto/rpki/transport.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}