* 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

@ -1,5 +1,8 @@
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* grp/initgroups.c (initgroups): Deallocate groups array.
Reported by jani.raiha@sonera.com [PR libc/1868].
* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
* sysdeps/alpha/Dist: Likewise.

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
}