fix listener leak r+a=mscott,valeski

git-svn-id: svn://10.0.0.236/trunk@48395 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%netscape.com 1999-09-20 21:10:46 +00:00
parent fc0491b1d8
commit fb5c7bf14e
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);
}
//////////////////////////////