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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user