]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1481: delay pools given too much bandwidht after "-k reconfigure"
authorserassio <>
Sun, 26 Feb 2006 21:34:27 +0000 (21:34 +0000)
committerserassio <>
Sun, 26 Feb 2006 21:34:27 +0000 (21:34 +0000)
Forward port of 2.5 patch.

src/delay_pools.cc

index 6a2fb9f2a6cf4de55dbb8eb063151b19c3f85ec6..4f4127ef27dc861c39ac84e59db69eec04b1cd85 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: delay_pools.cc,v 1.43 2005/04/18 21:52:42 hno Exp $
+ * $Id: delay_pools.cc,v 1.44 2006/02/26 14:34:27 serassio Exp $
  *
  * DEBUG: section 77    Delay Pools
  * AUTHOR: Robert Collins <robertc@squid-cache.org>
@@ -555,6 +555,7 @@ DelayPools::InitDelayData()
 void
 DelayPools::FreeDelayData()
 {
+    eventDelete(DelayPools::Update, NULL);
     delete[] DelayPools::delay_data;
     DelayPools::MemoryUsed -= pools() * sizeof(*DelayPools::delay_data);
     pools_ = 0;