From: Amos Jeffries Date: Tue, 22 Jan 2013 11:11:06 +0000 (-0700) Subject: Bug 3567: Memory leak handling malformed requests X-Git-Tag: SQUID_3_3_1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08b2717ae123a0bda5015c4065ad6202b807af7;p=thirdparty%2Fsquid.git Bug 3567: Memory leak handling malformed requests --- diff --git a/src/client_side.cc b/src/client_side.cc index 9f069873df..0a6e061119 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2566,7 +2566,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;