From: wessels <> Date: Tue, 31 Mar 1998 15:37:29 +0000 (+0000) Subject: need to fully free and recreate FV hash_tables X-Git-Tag: SQUID_3_0_PRE1~3680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6cb924dda2836fc874b5d4bb6987962ebd30a63;p=thirdparty%2Fsquid.git need to fully free and recreate FV hash_tables --- diff --git a/src/access_log.cc b/src/access_log.cc index d29068c82b..cd50f2b2bb 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -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