From: Matthias Andree Date: Sun, 3 Jul 2005 23:56:10 +0000 (-0000) Subject: Plug one of the .netrc memory leaks. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=513653c9dce7d8a7036823a70e0b9cb3bbddc7b0;p=~andy%2Ffetchmail Plug one of the .netrc memory leaks. svn path=/trunk/; revision=4087 --- 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 */