summaryrefslogtreecommitdiff
path: root/src/openvpn/networking_iproute2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/networking_iproute2.c')
-rw-r--r--src/openvpn/networking_iproute2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvpn/networking_iproute2.c b/src/openvpn/networking_iproute2.c
index f3b9c61..3b46052 100644
--- a/src/openvpn/networking_iproute2.c
+++ b/src/openvpn/networking_iproute2.c
@@ -88,6 +88,8 @@ net_iface_mtu_set(openvpn_net_ctx_t *ctx, const char *iface, uint32_t mtu)
argv_msg(M_INFO, &argv);
openvpn_execve_check(&argv, ctx->es, S_FATAL, "Linux ip link set failed");
+ argv_free(&argv);
+
return 0;
}