pw: free group returned by gr_add
This commit is contained in:
parent
43287e2753
commit
1f09eec3f8
@ -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…
x
Reference in New Issue
Block a user