From: Amos Jeffries Date: Fri, 18 Jan 2013 05:57:22 +0000 (-0700) Subject: Bug 3567: Memory leak handling malformed requests X-Git-Tag: SQUID_3_4_0_1~369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10dbb3cd02e4532a916e0dccf77d4fc80757f8ed;p=thirdparty%2Fsquid.git Bug 3567: Memory leak handling malformed requests --- diff --git a/src/client_side.cc b/src/client_side.cc index c29f5479da..aa337df593 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2578,7 +2578,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;