aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-03 23:56:10 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-03 23:56:10 +0000
commit513653c9dce7d8a7036823a70e0b9cb3bbddc7b0 (patch)
treec4d119b28b569123996ae2cee1701a864eecbbbf /fetchmail.c
parent6cfae286893dd3fb32da63be92b5d5411b70b030 (diff)
downloadfetchmail-513653c9dce7d8a7036823a70e0b9cb3bbddc7b0.tar.gz
fetchmail-513653c9dce7d8a7036823a70e0b9cb3bbddc7b0.tar.bz2
fetchmail-513653c9dce7d8a7036823a70e0b9cb3bbddc7b0.zip
Plug one of the .netrc memory leaks.
svn path=/trunk/; revision=4087
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 284c8cf3..70de180f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -303,6 +303,7 @@ int main(int argc, char **argv)
/* parse the ~/.netrc file (if present) for future password lookups. */
netrc_file = prependdir (NETRC_FILE, home);
netrc_list = parse_netrc(netrc_file);
+ free(netrc_file);
#undef NETRC_FILE
/* pick up passwords where we can */