]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 07:57:44 +0000 (07:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 07:57:44 +0000 (07:57 +0000)
* grp/initgroups.c (initgroups): Deallocate groups array.
Reported by jani.raiha@sonera.com [PR libc/1868].

ChangeLog
grp/initgroups.c

index 2fae7a4d5fabfc2b3a7000408ee109255cc657ed..b526de8da5a8609ab8fefaff78c5a7ee3cd7a7d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 54c37ed46cfa8f7d6cead0e68df8ecbf509ae959..6ae73687feb8bb2743d64a7cfc706964631fc5e6 100644 (file)
@@ -225,6 +225,8 @@ initgroups (user, group)
     result = setgroups (start, groups);
   while (result == -1 && errno == EINVAL && --start > 0);
 
+  free (groups);
+
   return result;
 #endif
 }