From: Amos Jeffries Date: Mon, 28 Jan 2013 11:49:40 +0000 (-0700) Subject: Bug 3567: Memory leak handling malformed requests X-Git-Tag: SQUID_3_2_7~6 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ffb908831aab1ba8c87cad27ad8cc3de96f7f634;p=thirdparty%2Fsquid.git Bug 3567: Memory leak handling malformed requests --- diff --git a/src/client_side.cc b/src/client_side.cc index 839b0b8412..12967f00e5 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2447,7 +2447,7 @@ static void clientProcessRequest(ConnStateData *conn, HttpParser *hp, ClientSocketContext *context, const HttpRequestMethod& method, HttpVersion http_ver) { ClientHttpRequest *http = context->http; - HttpRequest *request = NULL; + HttpRequest::Pointer request; bool notedUseOfBuffer = false; bool chunked = false; bool mustReplyToOptions = false;