From 4feac47fe09a9c92ad53b230ee936635751a8929 Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Wed, 26 May 1999 21:04:11 +0000 Subject: [PATCH] Initialized m_Request to nsnull to prevent a crash durng destruction - it was trying to free uninitialized memory :-( --- netwerk/protocol/http/src/nsHTTPRequest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netwerk/protocol/http/src/nsHTTPRequest.cpp b/netwerk/protocol/http/src/nsHTTPRequest.cpp index 2ad2a70d0597..75858215921b 100644 --- a/netwerk/protocol/http/src/nsHTTPRequest.cpp +++ b/netwerk/protocol/http/src/nsHTTPRequest.cpp @@ -27,7 +27,8 @@ nsHTTPRequest::nsHTTPRequest(nsIUrl* i_pURL, HTTPMethod i_Method): m_pURI(i_pURL), m_Method(i_Method), m_pArray(new nsVoidArray()), - m_Version(HTTP_ONE_ZERO) + m_Version(HTTP_ONE_ZERO), + m_Request(nsnull) { Build(); }