From: hno <> Date: Sun, 3 Sep 2006 11:32:53 +0000 (+0000) Subject: skip memory cleanups on shutdown even if built in leak check mode. Broken. X-Git-Tag: SQUID_3_0_PRE5~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afec404;p=thirdparty%2Fsquid.git skip memory cleanups on shutdown even if built in leak check mode. Broken. --- diff --git a/src/main.cc b/src/main.cc index 9629de4e8a..fbaa592aaf 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.434 2006/09/03 04:09:36 hno Exp $ + * $Id: main.cc,v 1.435 2006/09/03 05:32:53 hno Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -1685,7 +1685,7 @@ SquidShutdown() Store::Root().sync(); /* Flush log close */ StoreFileSystem::FreeAllFs(); DiskIOModule::FreeAllModules(); -#if LEAK_CHECK_MODE +#if LEAK_CHECK_MODE && 0 /* doesn't work at the moment */ configFreeMemory(); storeFreeMemory();