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/babel/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/babel') diff --git a/proto/babel/packets.c b/proto/babel/packets.c index d26ee5c6..47d065cd 100644 --- a/proto/babel/packets.c +++ b/proto/babel/packets.c @@ -1680,7 +1680,7 @@ babel_open_socket(struct babel_iface *ifa) err: sk_log_error(sk, p->p.name); - rfree(sk); + sk_close(sk); return 0; } -- cgit v1.2.3