aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_hconf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-24 08:41:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-24 08:41:41 +0000
commit0e255b9c271d3e316e74f6f70b05fdac90284576 (patch)
treef55f5c88ca7205c063cea374c57be7128d9361b5 /resolv/res_hconf.c
parent219f2381bdaec9c12d84f237f504fe4e3ac41c91 (diff)
downloadglibc-0e255b9c271d3e316e74f6f70b05fdac90284576.tar
glibc-0e255b9c271d3e316e74f6f70b05fdac90284576.tar.gz
glibc-0e255b9c271d3e316e74f6f70b05fdac90284576.tar.bz2
glibc-0e255b9c271d3e316e74f6f70b05fdac90284576.zip
(free_mem): Remove unneeded if.
Diffstat (limited to 'resolv/res_hconf.c')
-rw-r--r--resolv/res_hconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c
index 33c00d95b0..243cfbe0ec 100644
--- a/resolv/res_hconf.c
+++ b/resolv/res_hconf.c
@@ -554,8 +554,7 @@ _res_hconf_trim_domains (struct hostent *hp)
static void __attribute__ ((unused))
free_mem (void)
{
- if (ifaddrs != NULL)
- free (ifaddrs);
+ free (ifaddrs);
}
text_set_element (__libc_subfreeres, free_mem);