Re: [Openvpn-devel] Possible memory leaks found by Coverity

2014-08-14 Thread Gert Doering
Hi, On Thu, Aug 14, 2014 at 08:00:38AM +, Lev Stipakov wrote: > I have analyzed OpenVPN code with Coverity and I could not explain > some resource leaks Coverity has found. > > 1) https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/options.c#L4378 > > char * ipv6_local; >

[Openvpn-devel] Possible memory leaks found by Coverity

2014-08-14 Thread Lev Stipakov
Hello, I have analyzed OpenVPN code with Coverity and I could not explain some resource leaks Coverity has found. 1) https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/options.c#L4378 char * ipv6_local; VERIFY_PERMISSION (OPT_P_UP); if ( get_ipv6_addr( p[1], NULL, , _local, msglevel )