pw: free group returned by gr_add

This commit is contained in:
Mateusz Guzik 2013-01-06 21:56:58 +00:00
parent 43287e2753
commit 1f09eec3f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245114

View File

@ -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);
}
}