]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugzilla #162
authorhno <>
Mon, 28 May 2001 05:13:43 +0000 (05:13 +0000)
committerhno <>
Mon, 28 May 2001 05:13:43 +0000 (05:13 +0000)
Squid leaks 72 bytes every minute because it does not free data
allocated for comm_dns_incoming counter

Reported & patched by Radu Greab

src/stat.cc

index 33041914aebe8d37fb05ef230c06f7d56f1501dd..62fab338a181d59e68016e96fe5a1871dad03229 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.345 2001/03/03 10:39:33 hno Exp $
+ * $Id: stat.cc,v 1.346 2001/05/27 23:13:43 hno Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -1004,6 +1004,7 @@ statCountersClean(StatCounters * C)
     statHistClean(&C->dns.svc_time);
     statHistClean(&C->cd.on_xition_count);
     statHistClean(&C->comm_icp_incoming);
+    statHistClean(&C->comm_dns_incoming);
     statHistClean(&C->comm_http_incoming);
     statHistClean(&C->select_fds_hist);
 }