From ffb908831aab1ba8c87cad27ad8cc3de96f7f634 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 28 Jan 2013 04:49:40 -0700 Subject: [PATCH] Bug 3567: Memory leak handling malformed requests --- src/client_side.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2