From ee3142006a497a5216aef39ea8277a1c313b9747 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 31 Jan 2007 03:18:03 +0000 Subject: * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. --- misc/hsearch_r.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'misc') diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c index b03c12c..cb4d674 100644 --- a/misc/hsearch_r.c +++ b/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 , 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; -- cgit v1.1