diff --git a/ChangeLog b/ChangeLog index ac1aecc8..23547514 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ +2009-04-11 Peter Vrabec + + * src/useradd.c (get_defaults): Close the default file after the + default values were read. + 2009-04-11 Christian Perrier - * Slovak translation updated. Thanks to Ivan Masár + * po/sk.po: Slovak translation updated. Thanks to Ivan Masár 2009-04-11 Nicolas François diff --git a/src/useradd.c b/src/useradd.c index 3bc10774..476587d7 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -381,6 +381,7 @@ static void get_defaults (void) def_create_mail_spool = xstrdup (cp); } } + (void) fclose (fp); } /*