pw: free group returned by gr_add
This commit is contained in:
parent
43287e2753
commit
1f09eec3f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245114
@ -758,6 +758,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
|
||||
if (grp == NULL)
|
||||
continue;
|
||||
chggrent(cnf->groups[i], grp);
|
||||
free(grp);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user