More mem leak fixes that were showing up originating in nsStdURL in bruce's log.

git-svn-id: svn://10.0.0.236/trunk@44801 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan%netscape.com 1999-08-27 10:23:41 +00:00
parent 8ab100a15b
commit f99c11bdae
2 changed files with 4 additions and 0 deletions

View File

@ -1070,6 +1070,8 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnDataAvailable(nsIURI* aURL, nsIInput
if(mStreamType != nsPluginStreamType_AsFileOnly)
{
aURL->GetSpec(&url);
// Where is this url being used?
nsCRT::free(url);
rv = mPStreamListener->OnDataAvailable((nsIPluginStreamInfo*)mPluginStreamInfo, aIStream, aLength);
}
else

View File

@ -1070,6 +1070,8 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnDataAvailable(nsIURI* aURL, nsIInput
if(mStreamType != nsPluginStreamType_AsFileOnly)
{
aURL->GetSpec(&url);
// Where is this url being used?
nsCRT::free(url);
rv = mPStreamListener->OnDataAvailable((nsIPluginStreamInfo*)mPluginStreamInfo, aIStream, aLength);
}
else