]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/client_side.cc
Bug 3696: crash when client delay pools are activated
[thirdparty/squid.git] / src / client_side.cc
index 12967f00e57c9e0c18c30b76879aa5953ff64b57..a0cf69884a20eef240c984d7598aa599b26281e9 100644 (file)
@@ -3255,7 +3255,8 @@ httpAccept(const CommAcceptCbParams &params)
 
             /* 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) {