------------------------------------------------------------ revno: 12411 revision-id: squid3@treenet.co.nz-20121124035401-yq2h34f4lvzvnaqo parent: squid3@treenet.co.nz-20121124035321-6d8uj097tfhnlzjz committer: Amos Jeffries branch nick: 3.3 timestamp: Fri 2012-11-23 20:54:01 -0700 message: Remove MemPoolChunked::memPID This member variable appears to have been missed when MemPool was split into generic framework and specific Chunked implementation. (rev:10513.1.1 aka trunk rev:10517) The memPID and its maintenance code was moved into MemImplementingAllocator but this definition left here un-initialized and shadowing the framework member. Detected by Coverity Scan. Issue 740506. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20121124035401-yq2h34f4lvzvnaqo # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 67547d8a450749a6bf9bf0ea831624d81a4c97ec # timestamp: 2012-11-24 03:57:51 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20121124035321-\ # 6d8uj097tfhnlzjz # # Begin patch === modified file 'include/MemPoolChunked.h' --- include/MemPoolChunked.h 2011-08-26 16:50:49 +0000 +++ include/MemPoolChunked.h 2012-11-24 03:54:01 +0000 @@ -56,7 +56,6 @@ size_t chunk_size; int chunk_capacity; - int memPID; int chunkCount; void *freeCache; MemChunk *nextFreeChunk;