From: Amos Jeffries Date: Fri, 28 Aug 2015 13:23:34 +0000 (-0700) Subject: Bug 3696: crash when client delay pools are activated X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05f7f13c3db5db745a681a9f797ad46cd9cd0e80;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 98fa58bc50..a6242f7e51 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3447,7 +3447,8 @@ httpAccept(const CommAcceptCbParams ¶ms) /* 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) {