On 24-11-15 14:09, Gert Doering wrote:
> not used, and a small mem leak on every tunnel close...
> 
> Signed-off-by: Gert Doering <[email protected]>
> ---
>  src/openvpn/tun.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c
> index 8139afc..c293e1e 100644
> --- a/src/openvpn/tun.c
> +++ b/src/openvpn/tun.c
> @@ -2539,7 +2539,6 @@ close_tun (struct tuntap *tt)
>      }
>    else if (tt)                               /* close and destroy */
>      {
> -      struct gc_arena gc = gc_new ();
>        struct argv argv;
>  
>        /* setup command, close tun dev (clears tt->actual_name!), run command
> 

ACK

-Steffan

Reply via email to