diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-25 18:31:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-25 18:31:29 +0000 |
commit | 672d5a63a9b8ff1a6d16a9a1cdc0e1476b752aec (patch) | |
tree | 4d68aaf758af00e01180ac1c8809af7e0b897cf4 /ChangeLog | |
parent | 1663b44fbc3fbebdf597397f45fcaa033d00d032 (diff) | |
download | glibc-672d5a63a9b8ff1a6d16a9a1cdc0e1476b752aec.tar.gz glibc-672d5a63a9b8ff1a6d16a9a1cdc0e1476b752aec.tar.xz glibc-672d5a63a9b8ff1a6d16a9a1cdc0e1476b752aec.zip |
* nis/nis_removemember.c (nis_removemember): Avoid unnecessary
coping. No need to allocate new array for group members. Just move the pointers and update the size.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 8aef7aa176..d01eb346c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-25 Ulrich Drepper <drepper@redhat.com> + * nis/nis_removemember.c (nis_removemember): Avoid unnecessary + coping. No need to allocate new array for group members. Just + move the pointers and update the size. + * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. Avoid memory leak in case realloc fails. Simplification for better code generation. |