From cef57449b98c38deb35e885bd8958fe09f6a2b02 Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Tue, 24 Nov 2015 14:09:10 +0100 Subject: [PATCH] remove unused gc_arena in FreeBSD close_tun() not used, and a small mem leak on every tunnel close... Signed-off-by: Gert Doering Acked-by: Steffan Karger Message-Id: <1448370550-23897-1-git-send-email-gert@greenie.muc.de> URL: http://article.gmane.org/gmane.network.openvpn.devel/10581 --- src/openvpn/tun.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 8139afc18..c293e1ecd 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 -- 2.47.2