From: hno <> Date: Mon, 28 May 2001 05:13:43 +0000 (+0000) Subject: Bugzilla #162 X-Git-Tag: SQUID_3_0_PRE1~1505 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a56906d4d58d360b019907d871f21f27bb3424cf;p=thirdparty%2Fsquid.git Bugzilla #162 Squid leaks 72 bytes every minute because it does not free data allocated for comm_dns_incoming counter Reported & patched by Radu Greab --- diff --git a/src/stat.cc b/src/stat.cc index 33041914ae..62fab338a1 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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); }