diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-20 21:06:42 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-22 20:48:42 +0200 |
commit | b3f805ce29487f790090fcf31096f5a7cf1d585d (patch) | |
tree | 5391762ee46af090a2ca5bb0d5674c66a8aab04e /proto/babel | |
parent | 074739e0e9baaba53f2a99edd348b76c3613b455 (diff) |
Socket closing has its dedicated function
Diffstat (limited to 'proto/babel')
-rw-r--r-- | proto/babel/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |