diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2013-01-06 21:56:58 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2013-01-06 21:56:58 +0000 |
commit | 4327085bc7709eabd95968f31d8c6abb9fe3c92c (patch) | |
tree | 0692d32cb1485d88befe8671d13fb725b7fce8a7 | |
parent | 8f1370df706a16668cc3a3f9be05d8af396c365c (diff) | |
download | pw-darwin-4327085bc7709eabd95968f31d8c6abb9fe3c92c.tar.gz pw-darwin-4327085bc7709eabd95968f31d8c6abb9fe3c92c.tar.zst pw-darwin-4327085bc7709eabd95968f31d8c6abb9fe3c92c.zip |
pw: free group returned by gr_add
-rw-r--r-- | pw/pw_user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c index 5577511..38f21ce 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -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); } } |