From: Amos Jeffries Date: Thu, 5 Feb 2015 09:39:15 +0000 (-0800) Subject: Quieten CBDATA 'leak' messages X-Git-Tag: merge-candidate-3-v1~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfd798c91e237bb51f523f6044505bf15475fba1;p=thirdparty%2Fsquid.git Quieten CBDATA 'leak' messages The majority being reported were false-positive as cbdataReferenceValidDone() clearing the valid flag before the lock. --- diff --git a/src/cbdata.cc b/src/cbdata.cc index c125eb03f0..8c149ec790 100644 --- a/src/cbdata.cc +++ b/src/cbdata.cc @@ -409,7 +409,7 @@ cbdataInternalUnlock(const void *p) if (c->valid) { #if USE_CBDATA_DEBUG - debugs(45, DBG_IMPORTANT, "CBDATA memory leak. cbdata=" << p << " " << file << ":" << line); + debugs(45, 3, "CBDATA valid with no references ... cbdata=" << p << " " << file << ":" << line); #endif return; }