Re: [Openvpn-devel] [PATCH 4/9] Add missing free_key_ctx for auth_token

2021-05-13 Thread Antonio Quartulli
Hi, On 12/05/2021 15:15, Arne Schwabe wrote: > This is is a small memory leak as this key is only leaked once > per server start. > > Signed-off-by: Arne Schwabe The leak can indeed be seen with valgrind when running the server with --auth-gen-token: ==23481== HEAP SUMMARY: ==23481== in us

[Openvpn-devel] [PATCH 4/9] Add missing free_key_ctx for auth_token

2021-05-12 Thread Arne Schwabe
This is is a small memory leak as this key is only leaked once per server start. Signed-off-by: Arne Schwabe --- src/openvpn/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 1d77a9d42..49c742928 100644 --- a/src/openvpn/init.c +++ b/src/ope