Skip to content
Snippets Groups Projects
Commit 1d44c9cc authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Plug more leaks.

parent 33831759
No related branches found
No related tags found
No related merge requests found
......@@ -3130,13 +3130,18 @@ static void free_config_fields(struct Configurable *config)
free(config->cookiejar);
if(config->ftp_account)
free(config->ftp_account);
if(config->ftp_alternative_to_user)
free(config->ftp_alternative_to_user);
if(config->iface)
free(config->iface);
if(config->socksproxy)
free(config->socksproxy);
curl_slist_free_all(config->quote); /* checks for config->quote == NULL */
curl_slist_free_all(config->prequote);
curl_slist_free_all(config->postquote);
curl_slist_free_all(config->headers);
curl_slist_free_all(config->telnet_options);
}
#ifdef WIN32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment