fix listener leak r+a=mscott,valeski

This commit is contained in:
bienvenu%netscape.com 1999-09-20 21:10:46 +00:00
parent 2c83b5f862
commit 9f48620357
2 changed files with 2 additions and 0 deletions

View File

@ -1525,6 +1525,7 @@ nsChannelListener::OnStartRequest(nsIChannel *aChannel, nsISupports *aContext)
rv = StreamConvService->AsyncConvertData(from.GetUnicode(), to.GetUnicode(), mNextListener, aChannel,
&converterListener);
mNextListener = converterListener;
NS_IF_RELEASE(converterListener);
}
//////////////////////////////

View File

@ -1525,6 +1525,7 @@ nsChannelListener::OnStartRequest(nsIChannel *aChannel, nsISupports *aContext)
rv = StreamConvService->AsyncConvertData(from.GetUnicode(), to.GetUnicode(), mNextListener, aChannel,
&converterListener);
mNextListener = converterListener;
NS_IF_RELEASE(converterListener);
}
//////////////////////////////