зеркало из https://github.com/mozilla/gecko-dev.git
NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski
This commit is contained in:
Родитель
41f0fe1a0f
Коммит
0954d17559
|
@ -193,7 +193,7 @@ nsHTTPResponseListener::OnStartRequest(nsIChannel* channel, nsISupports* i_pCont
|
||||||
if (NS_SUCCEEDED(rv)) {
|
if (NS_SUCCEEDED(rv)) {
|
||||||
// Pass the notification out to the consumer...
|
// Pass the notification out to the consumer...
|
||||||
if (m_pConsumer) {
|
if (m_pConsumer) {
|
||||||
rv = m_pConsumer->OnStartRequest(m_Channel, m_ResponseContext);
|
rv = m_pConsumer->OnStartRequest(channel, m_ResponseContext);
|
||||||
} else {
|
} else {
|
||||||
NS_ERROR("No Stream Listener...");
|
NS_ERROR("No Stream Listener...");
|
||||||
rv = NS_ERROR_NULL_POINTER;
|
rv = NS_ERROR_NULL_POINTER;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче