From: Amos Jeffries Date: Fri, 28 Aug 2015 13:25:15 +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=43bc6bf0dddcb4fb9d74baae659cce2161dd5f50;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 9adfe9ca26..0cb07ef397 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3378,7 +3378,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) {