From: Amos Jeffries Date: Fri, 28 Aug 2015 13:22:38 +0000 (-0700) Subject: Bug 3696: crash when client delay pools are activated X-Git-Tag: SQUID_3_5_8~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=346d57dfbae69edba43dd350d71447f0d02ff9d9;p=thirdparty%2Fsquid.git Bug 3696: crash when client delay pools are activated --- diff --git a/src/client_side.cc b/src/client_side.cc index 01f668305d..8dcefb163f 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3624,7 +3624,8 @@ ConnStateData::start() /* pools require explicit 'allow' to assign a client into them */ if (pools[pool].access) { - ch.accessList = pools[pool].access; + cbdataReferenceDone(ch.accessList); + ch.accessList = cbdataReference(pools[pool].access); allow_t answer = ch.fastCheck(); if (answer == ACCESS_ALLOWED) {