]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
need to fully free and recreate FV hash_tables
authorwessels <>
Tue, 31 Mar 1998 15:37:29 +0000 (15:37 +0000)
committerwessels <>
Tue, 31 Mar 1998 15:37:29 +0000 (15:37 +0000)
src/access_log.cc

index d29068c82bed88d7343c79e5d3a9c6728e20f7fb..cd50f2b2bb6ac6cdd2215cc5b278446c4498333d 100644 (file)
@@ -1,7 +1,7 @@
 
 
 /*
- * $Id: access_log.cc,v 1.25 1998/03/31 05:37:33 wessels Exp $
+ * $Id: access_log.cc,v 1.26 1998/03/31 08:37:29 wessels Exp $
  *
  * DEBUG: section 46    Access Log
  * AUTHOR: Duane Wessels
@@ -431,7 +431,11 @@ static void
 fvdbClear(void)
 {
     hashFreeItems(via_table, fvdbFreeEntry);
+    hashFreeMemory(via_table);
+    via_table = hash_create((HASHCMP *) strcmp, 977, hash4);
     hashFreeItems(forw_table, fvdbFreeEntry);
+    hashFreeMemory(forw_table);
+    forw_table = hash_create((HASHCMP *) strcmp, 977, hash4);
 }
 
 #endif