diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-13 17:37:07 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-09-13 18:06:16 +0200 |
commit | 8ee25105fc122099c9f673ae9d4adfbfceacfc5f (patch) | |
tree | bf873f843ea7a4c75f38de1663a19a2b65241835 /sysdep/unix | |
parent | 93d5f6c27a0b0f87a9130f381178aad89cba2d2e (diff) |
close socket fixing leak
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/wg_user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c index df46ffef..052522db 100644 --- a/sysdep/unix/wg_user.c +++ b/sysdep/unix/wg_user.c @@ -51,6 +51,7 @@ static int user_rx_hook(struct birdsock *sk UNUSED, uint size UNUSED) { DBG(L_TRACE "WG: RX %p %d", sk, size); + rfree(sk); return 1; } |