]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix memory leaks in ConnStateData pinning
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 Mar 2013 05:59:17 +0000 (23:59 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 Mar 2013 05:59:17 +0000 (23:59 -0600)
commit88756110698650d7907495f0b0cb66e2cd712ae0
tree27cf60449a917b9c2f8efcbfdd9436f8aa9d1cf8
parent27cdc490130b675f397377c02502076c1b66000f
Fix memory leaks in ConnStateData pinning

ConnStateData does not cleanup any of the pinning child structure fields.
This results in a leak of pinned host and peer details.

Run the full un-pin cleanup operation from ConnStateData::swanSong in
order to clean up all the pinning state instead of just the release the
Comm::Connection.
src/client_side.cc