Revert "useradd.c:fix memleaks of grp"

In some cases, the value which was being freed is not actually
safe to free.

Closes #394

This reverts commit c44b71cec2.
This commit is contained in:
Serge Hallyn 2021-08-14 19:37:24 -05:00
parent 009e09fd58
commit 4624e9fca1
1 changed files with 0 additions and 1 deletions

View File

@ -413,7 +413,6 @@ static void get_defaults (void)
} else {
def_group = grp->gr_gid;
def_gname = xstrdup (grp->gr_name);
gr_free(grp);
}
}