From: wessels <> Date: Sat, 6 May 2006 05:36:40 +0000 (+0000) Subject: Fix for recent "clientReplyContext keeps a FwdState refcount" patch. X-Git-Tag: SQUID_3_0_PRE4~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=158ba2c8d2a9ee90e6eba5ee0ef59ace1647e8f6;p=thirdparty%2Fsquid.git Fix for recent "clientReplyContext keeps a FwdState refcount" patch. I missed the more common case where fwdStart() was called. --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 3ec12c2eb9..8530643859 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.101 2006/05/05 21:33:56 wessels Exp $ + * $Id: client_side_reply.cc,v 1.102 2006/05/05 23:36:40 wessels Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -842,9 +842,9 @@ clientReplyContext::processMiss() if (http->flags.internal) r->protocol = PROTO_INTERNAL; - FwdState::fwdStart(http->getConn().getRaw() != NULL ? http->getConn()->fd : -1, - http->storeEntry(), - r); + fwd = FwdState::fwdStart(http->getConn().getRaw() != NULL ? http->getConn()->fd : -1, + http->storeEntry(), + r); } }