summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-02-05 17:59:45 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-02-05 17:59:45 +0000
commitfbeabbdc554f256444af02146bec6b76541c75a8 (patch)
tree1b92c9867abb92a68a34073eda060e66750f032c /libc/misc
parent1e1eaa2d6be863fbfa1526a0b42e7fb0f1b042e0 (diff)
downloadeglibc2-fbeabbdc554f256444af02146bec6b76541c75a8.tar.gz
Merge changes between r1192 and r1382 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@1383 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/hsearch_r.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/misc/hsearch_r.c b/libc/misc/hsearch_r.c
index b03c12ce0..cb4d67466 100644
--- a/libc/misc/hsearch_r.c
+++ b/libc/misc/hsearch_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,2002,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995-1997,2002,2005,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993.
@@ -110,9 +110,8 @@ hdestroy_r (htab)
return;
}
- if (htab->table != NULL)
- /* free used memory */
- free (htab->table);
+ /* Free used memory. */
+ free (htab->table);
/* the sign for an existing table is an value != NULL in htable */
htab->table = NULL;