aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-02-12 22:16:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-02-12 22:16:21 +0000
commit2138ee76281f0feeb2372a51015de9a91a377919 (patch)
treeb64be73da9fab291e2795f626aa3a1cbf8f56484
parent4258e943a15013952afd67354800ec6199af7050 (diff)
free --mail-from strings properly
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c37988351..bcf45625c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3875,6 +3875,8 @@ static void free_config_fields(struct Configurable *config)
free(config->referer);
if (config->hostpubmd5)
free(config->hostpubmd5);
+ if(config->mail_from)
+ free(config->mail_from);
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
if(config->socks5_gssapi_service)
free(config->socks5_gssapi_service);