зеркало из https://github.com/mozilla/pjs.git
Initialized m_Request to nsnull to prevent a crash durng destruction - it was trying to free uninitialized memory :-(
This commit is contained in:
Родитель
7ee4dbe328
Коммит
0e844f07ca
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче