зеркало из https://github.com/mozilla/gecko-dev.git
Fixed ref counting problem in stub_GraphProgressDestroy()
This commit is contained in:
Родитель
fcfddbd59f
Коммит
53587597f7
|
@ -323,6 +323,9 @@ PRIVATE void stub_GraphProgressDestroy(MWContext *context,
|
||||||
nsConnectionInfo *pConn = (nsConnectionInfo *) URL_s->fe_data;
|
nsConnectionInfo *pConn = (nsConnectionInfo *) URL_s->fe_data;
|
||||||
pListener->OnProgress(pConn->pURL, total_bytes_read,
|
pListener->OnProgress(pConn->pURL, total_bytes_read,
|
||||||
content_length);
|
content_length);
|
||||||
|
// XXX The comment above no longer applies, and this function does
|
||||||
|
// get called...
|
||||||
|
NS_RELEASE(pListener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче