Fixed ref counting problem in stub_GraphProgressDestroy()

This commit is contained in:
troy%netscape.com 1998-11-20 04:28:06 +00:00
Родитель fcfddbd59f
Коммит 53587597f7
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -323,6 +323,9 @@ PRIVATE void stub_GraphProgressDestroy(MWContext *context,
nsConnectionInfo *pConn = (nsConnectionInfo *) URL_s->fe_data;
pListener->OnProgress(pConn->pURL, total_bytes_read,
content_length);
// XXX The comment above no longer applies, and this function does
// get called...
NS_RELEASE(pListener);
}
}