aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-06-19 00:30:02 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-06-19 00:30:02 +0000
commit65ee4e45559be30771f383884d135a927b49849d (patch)
tree86a13f03f468db03b5608179ac52aae3bd7b5e06 /src/main.c
parent5304b13365d12070cab3464b19f08854e5e0845d (diff)
Fixed a memory leak in the command-line tool that caused a valgrind error.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 92f5efa97..077dc8c28 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);