From dacca6ad00356bc4cd45aa4bca857ebe95cba244 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Sun, 6 Jan 2013 21:56:58 +0000 Subject: pw: free group returned by gr_add --- pw/pw_user.c | 1 + 1 file changed, 1 insertion(+) 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); } } -- cgit v1.2.3-56-ge451