From 0e255b9c271d3e316e74f6f70b05fdac90284576 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Aug 2000 08:41:41 +0000 Subject: (free_mem): Remove unneeded if. --- resolv/res_hconf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'resolv/res_hconf.c') 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); -- cgit v1.2.3-65-gdbad