aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_getparam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index ab2b75289..bd989fada 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -2302,6 +2302,8 @@ ParameterError parse_args(struct GlobalConfig *global, int argc,
result = getparameter("--url", orig_opt, &used, global,
config);
}
+
+ curlx_unicodefree(orig_opt);
}
if(result && result != PARAM_HELP_REQUESTED &&