diff options
author | Arne Schwabe | 2022-12-15 20:01:41 +0100 |
---|---|---|
committer | Gert Doering | 2022-12-16 18:28:26 +0100 |
commit | 5ca01c79bc3c972719e844b224dac981e128cbb6 (patch) | |
tree | 60b6802966021489a1875b12b64bc3f8f724eda4 | |
parent | fad810fff33946e1b79d408e97ea8b7c017e9fb4 (diff) | |
download | openvpn-5ca01c79bc3c972719e844b224dac981e128cbb6.zip openvpn-5ca01c79bc3c972719e844b224dac981e128cbb6.tar.gz |
Remove unused gc_arena
Reported-By: Trail of Bits
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20221215190143.2107896-7-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25736.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 97929d16a4eb05cb521a469ff4eaca32761699f3)
-rw-r--r-- | src/openvpn/forward.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c index de80dcf..de7cafd 100644 --- a/src/openvpn/forward.c +++ b/src/openvpn/forward.c @@ -1714,8 +1714,6 @@ process_outgoing_link(struct context *c) void process_outgoing_tun(struct context *c) { - struct gc_arena gc = gc_new(); - /* * Set up for write() call to TUN/TAP * device. @@ -1801,7 +1799,6 @@ process_outgoing_tun(struct context *c) buf_reset(&c->c2.to_tun); perf_pop(); - gc_free(&gc); } void |