]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
protect netdb call with USE_ICMP
authorwessels <>
Sat, 12 Oct 1996 00:04:57 +0000 (00:04 +0000)
committerwessels <>
Sat, 12 Oct 1996 00:04:57 +0000 (00:04 +0000)
src/tools.cc

index 2b0fe9b519a379907aa063fabed21cd6a9f0047d..5a9690a98fa554f362d94cb9a16fe6751a8bc675 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.70 1996/10/10 22:20:30 wessels Exp $
+ * $Id: tools.cc,v 1.71 1996/10/11 18:04:57 wessels Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -307,7 +307,9 @@ normal_shutdown(void)
     fdstatFreeMemory();
     errorpageFreeMemory();
     stmemFreeMemory();
+#if USE_ICMP
     netdbFreeMemory();
+#endif
     ipcacheFreeMemory();
     fqdncacheFreeMemory();
     debug(21, 0, "Squid Cache (Version %s): Exiting normally.\n",