]> git.ipfire.org Git - thirdparty/squid.git/commit
Initialize mem_node fully
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 22 Jan 2013 11:07:36 +0000 (04:07 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 22 Jan 2013 11:07:36 +0000 (04:07 -0700)
commitd925faee3f821fc3e3b248a6a1739d191ff6d9c9
tree382f75a5e6bead71ec13fafc53bfc41aa5cdf552
parent8534f05d464cddd265068a333a2bc5591a70156f
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