From 513653c9dce7d8a7036823a70e0b9cb3bbddc7b0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 3 Jul 2005 23:56:10 +0000 Subject: Plug one of the .netrc memory leaks. svn path=/trunk/; revision=4087 --- fetchmail.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fetchmail.c') 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 */ -- cgit v1.2.3