This commit is contained in:
darin%netscape.com 2003-01-18 03:50:41 +00:00
Родитель d6285f6d08
Коммит d682f264b4
2 изменённых файлов: 6 добавлений и 0 удалений

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

@ -157,6 +157,9 @@ nsJARChannel::nsJARChannel()
nsJARChannel::~nsJARChannel()
{
// with the exception of certain error cases mJarInput will already be null.
NS_IF_RELEASE(mJarInput);
// release owning reference to the jar handler
nsJARProtocolHandler *handler = gJarHandler;
NS_RELEASE(handler); // NULL parameter

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

@ -157,6 +157,9 @@ nsJARChannel::nsJARChannel()
nsJARChannel::~nsJARChannel()
{
// with the exception of certain error cases mJarInput will already be null.
NS_IF_RELEASE(mJarInput);
// release owning reference to the jar handler
nsJARProtocolHandler *handler = gJarHandler;
NS_RELEASE(handler); // NULL parameter