From: Lev Stipakov <l...@openvpn.net> Signed-off-by: Lev Stipakov <l...@openvpn.net> --- src/openvpn/tun.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 54f7d72c..f3152a52 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -745,7 +745,6 @@ init_tun(const char *dev, /* --dev option */ struct env_set *es, openvpn_net_ctx_t *ctx) { - struct gc_arena gc = gc_new(); struct tuntap *tt; ALLOC_OBJ(tt, struct tuntap); @@ -878,7 +877,6 @@ init_tun(const char *dev, /* --dev option */ do_ifconfig_setenv(tt, es); } - gc_free(&gc); return tt; } -- 2.23.0.windows.1 _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel