------------------------------------------------------------ revno: 13749 revision-id: squid3@treenet.co.nz-20150210044552-qtlpurzpkcqr4edz parent: squid3@treenet.co.nz-20150210044235-gzq1mvt5cfyu99hn committer: Amos Jeffries branch nick: 3.5 timestamp: Mon 2015-02-09 20:45:52 -0800 message: Quieten CBDATA 'leak' messages The majority being reported were false-positive as cbdataReferenceValidDone() clearing the valid flag before the lock. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20150210044552-qtlpurzpkcqr4edz # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 57f5caa14c9aeb67be5f1e3fc9acfb61cbebef13 # timestamp: 2015-02-10 04:50:57 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20150210044235-\ # gzq1mvt5cfyu99hn # # Begin patch === modified file 'src/cbdata.cc' --- src/cbdata.cc 2015-01-13 09:13:49 +0000 +++ src/cbdata.cc 2015-02-10 04:45:52 +0000 @@ -439,7 +439,7 @@ 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; }