From: Alex Rousskov Date: Sun, 12 Sep 2010 00:12:49 +0000 (-0600) Subject: Partial bug #2964 fix: Do not leak HttpRequests that are not worth logging. X-Git-Tag: take1~270 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a6ab63653c9cee51192ad9b773ab100848c1d4f;p=thirdparty%2Fsquid.git Partial bug #2964 fix: Do not leak HttpRequests that are not worth logging. TODO: Log all (or at least more) requests by removing (out.size || logType) logging guard. Based on lp 3p1-rock branch, r9613. --- diff --git a/src/client_side.cc b/src/client_side.cc index 74bb562a92..09142c3f8b 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -656,9 +656,9 @@ ClientHttpRequest::logRequest() } delete checklist; - - accessLogFreeMemory(&al); } + + accessLogFreeMemory(&al); } void