summaryrefslogtreecommitdiff
path: root/src/tool_cfgable.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-24 08:31:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-24 22:41:37 +0200
commit5620d2cc78c018f6ae15ba9aab371aa388146df0 (patch)
tree897b7e75250a644e5aeae81de5daf3498602286b /src/tool_cfgable.c
parent510d98157f21dee5793c4e975fde3317b6139267 (diff)
downloadcurl-5620d2cc78c018f6ae15ba9aab371aa388146df0.tar.gz
curl: add --output-dir
Works with --create-dirs and with -J Add test 3008, 3009, 3011, 3012 and 3013 to verify. Closes #5637
Diffstat (limited to 'src/tool_cfgable.c')
-rw-r--r--src/tool_cfgable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c
index 63bdeaa46..e99602c4f 100644
--- a/src/tool_cfgable.c
+++ b/src/tool_cfgable.c
@@ -89,6 +89,7 @@ static void free_config_fields(struct OperationConfig *config)
Curl_safefree(config->mail_auth);
Curl_safefree(config->netrc_file);
+ Curl_safefree(config->output_dir);
urlnode = config->url_list;
while(urlnode) {