]> git.ipfire.org Git - thirdparty/squid.git/commit
Initialize mem_node fully
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 15 Jan 2013 01:01:30 +0000 (18:01 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 15 Jan 2013 01:01:30 +0000 (18:01 -0700)
commit20ff3738dbfa491b02ca016a6161b64ec7068d45
tree817832f9a9b993644e02670f62a8543f44b56241
parentec4c70ce35b476bd12c755f6806ae60b47c921d4
Initialize mem_node fully

Experience in squid-2.7 shows that with MemPools use of malloc instead
of calloc mem_node requires full initialization in order to get accurate
memory accounting.

Also closes Coverity Scan defect issue 740573.
src/mem_node.cc