1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* grp/initgroups.c (initgroups): Deallocate groups array.
	Reported by jani.raiha@sonera.com [PR libc/1868].
This commit is contained in:
Ulrich Drepper
2000-08-24 07:57:44 +00:00
parent 80bae720f5
commit 84364bf861
2 changed files with 5 additions and 0 deletions

View File

@ -225,6 +225,8 @@ initgroups (user, group)
result = setgroups (start, groups);
while (result == -1 && errno == EINVAL && --start > 0);
free (groups);
return result;
#endif
}