]> git.ipfire.org Git - thirdparty/squid.git/commit
Delete cbdata-protected data when built --with-valgrind-debug.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 18 May 2016 22:46:52 +0000 (16:46 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 18 May 2016 22:46:52 +0000 (16:46 -0600)
commite57b674b6152a3e0976a1f865ec10b17437316d0
tree4eb33867885edb02d0e0ad2fabe84cb5a79e66ae
parent995365cd93f9914f666174c8d413caee52af7817
Delete cbdata-protected data when built --with-valgrind-debug.

Valgrind was correctly reporting every cbdata allocation as leaking!
AFAICT, these regressions were introduced by a combination of trunk
r13977 (Bug 4215: double-free in CBDATA) and trunk r13909 (de-duplicate
cbdata deallocate actions).

Also fixed and polished cbdata debugging that was printing mismatching
Allocating/Freeing pointer values and synced scripts/find-alive.pl.
scripts/find-alive.pl
src/cbdata.cc