From 79f590ed569699da6a70d6cedabeb72c3b19dd18 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Tue, 6 Sep 2005 00:36:19 +0000 Subject: [PATCH] Release pwent after extracting data from it. --- init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/init.c b/init.c index a716a802..35ef161e 100644 --- a/init.c +++ b/init.c @@ -2218,6 +2218,7 @@ void mutt_init (int skip_sys_rc, LIST *commands) Realname = safe_strdup (mutt_gecos_name (rnbuf, sizeof (rnbuf), pw)); Shell = safe_strdup (pw->pw_shell); + endpwent (); } else { -- 2.40.0