------------------------------------------------------------ revno: 14007 revision-id: squid3@treenet.co.nz-20160323144124-bcowa87y1bxwrje8 parent: squid3@treenet.co.nz-20160323143723-88l17xribzr5g8q1 author: Nathan Hoad committer: Amos Jeffries branch nick: 3.5 timestamp: Thu 2016-03-24 03:41:24 +1300 message: Fix memory leak of HttpRequest objects ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20160323144124-bcowa87y1bxwrje8 # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 2ea2ade39b0e0b0227aa060de14bf1f0160b84c8 # timestamp: 2016-03-23 14:51:03 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20160323143723-\ # 88l17xribzr5g8q1 # # Begin patch === modified file 'src/client_side.cc' --- src/client_side.cc 2016-02-15 11:29:50 +0000 +++ src/client_side.cc 2016-03-23 14:41:24 +0000 @@ -639,6 +639,7 @@ } if (request) { + HTTPMSGUNLOCK(al->adapted_request); al->adapted_request = request; HTTPMSGLOCK(al->adapted_request); }