mirror of
https://github.com/curl/curl.git
synced 2026-07-28 21:43:08 +03:00
cli tool: fix mime post with --disable-libcurl-option configure option
Reported-by: Marcel Raad Fixes #3576 Closes #3583
This commit is contained in:
parent
d8b0318ad6
commit
e49e5eaa10
8 changed files with 180 additions and 126 deletions
|
|
@ -144,10 +144,10 @@ static void free_config_fields(struct OperationConfig *config)
|
|||
curl_slist_free_all(config->headers);
|
||||
curl_slist_free_all(config->proxyheaders);
|
||||
|
||||
if(config->mimepost) {
|
||||
tool_mime_free(config->mimepost);
|
||||
config->mimepost = NULL;
|
||||
}
|
||||
curl_mime_free(config->mimepost);
|
||||
config->mimepost = NULL;
|
||||
tool_mime_free(config->mimeroot);
|
||||
config->mimeroot = NULL;
|
||||
config->mimecurrent = NULL;
|
||||
|
||||
curl_slist_free_all(config->telnet_options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue