Merge pull request #302 from whzhe51/br_master
useradd.c:fix memleaks of grp
This commit is contained in:
commit
c917ed7b76
@ -411,6 +411,7 @@ static void get_defaults (void)
|
||||
} else {
|
||||
def_group = grp->gr_gid;
|
||||
def_gname = xstrdup (grp->gr_name);
|
||||
gr_free(grp);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user