From: Amos Jeffries Date: Fri, 28 Aug 2015 13:26:26 +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=e2d3a6373dbdd9858b254519e4892851a0cd8fe5;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 12967f00e5..a0cf69884a 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3255,7 +3255,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) {