aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */