зеркало из https://github.com/mozilla/pjs.git
Fix for bug 199500 - Crash in nsHttpConnectionMgr::OnSocketEvent if PSM is not installed; p=darin r/sr=alecf a=dbaron
This commit is contained in:
Родитель
236d058e2a
Коммит
0f9f181ca8
|
@ -554,6 +554,11 @@ nsHttpConnectionMgr::DispatchTransaction(nsConnectionEntry *ent,
|
|||
LOG((" conn->Activate failed [rv=%x]\n", rv));
|
||||
ent->mActiveConns.RemoveElement(conn);
|
||||
mNumActiveConns--;
|
||||
// sever back references to connection, and do so without triggering
|
||||
// a call to ReclaimConnection ;-)
|
||||
trans->SetConnection(nsnull);
|
||||
NS_RELEASE(handle->mConn);
|
||||
// destroy the connection
|
||||
NS_RELEASE(conn);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче