diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 08:41:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 08:41:41 +0000 |
commit | 0e255b9c271d3e316e74f6f70b05fdac90284576 (patch) | |
tree | f55f5c88ca7205c063cea374c57be7128d9361b5 /resolv/res_hconf.c | |
parent | Update. (diff) | |
download | 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.c | 3 |
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); |