mirror of
https://github.com/curl/curl.git
synced 2026-08-11 09:10:56 +03:00
Fixed a memory leak in the command-line tool that caused a valgrind error.
This commit is contained in:
parent
5304b13365
commit
65ee4e4555
2 changed files with 4 additions and 0 deletions
|
|
@ -3646,6 +3646,8 @@ static void free_config_fields(struct Configurable *config)
|
|||
free(config->pubkey);
|
||||
if (config->referer)
|
||||
free(config->referer);
|
||||
if (config->hostpubmd5)
|
||||
free(config->hostpubmd5);
|
||||
|
||||
curl_slist_free_all(config->quote); /* checks for config->quote == NULL */
|
||||
curl_slist_free_all(config->prequote);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue