[squid-dev] [PATCH] Delete cbdata-protected data --with-valgrind-debug
rousskov at measurement-factory.com
Wed May 18 06:22:22 UTC 2016
Valgrind was correctly reporting every cbdata allocation in trunk 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). These cbdata-protected data
leaks were not present when Squid was built without valgrind support.
I also fixed and polished cbdata debugging that was printing mismatching
Allocating/Freeing pointer values and synced scripts/find-alive.pl.
The surrounding code needs a lot more love than I can currently give it,
but I hope that the attached fixes do not create new problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5209 bytes
Desc: not available
More information about the squid-dev