]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(free_mem): Remove unneeded if.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 08:41:41 +0000 (08:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 08:41:41 +0000 (08:41 +0000)
resolv/res_hconf.c

index 33c00d95b0555fd5b23380d2bc4151016a539f53..243cfbe0ecb21552caae27b95d39d86528c00949 100644 (file)
@@ -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);