summaryrefslogtreecommitdiff
path: root/openvpn/src
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/src')
-rw-r--r--openvpn/src/openvpn/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn/src/openvpn/misc.c b/openvpn/src/openvpn/misc.c
index fcc85526..1e9a7fc0 100644
--- a/openvpn/src/openvpn/misc.c
+++ b/openvpn/src/openvpn/misc.c
@@ -804,7 +804,7 @@ setenv_str_ex (struct env_set *es,
}
else
{
- char *str = construct_name_value (name_tmp, val_tmp, NULL);
+ char *str = construct_name_value (name_tmp, val_tmp, &gc);
if (platform_putenv(str))
{
msg (M_WARN | M_ERRNO, "putenv('%s') failed", str);