mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache)
This commit is contained in:
parent
cbb3476a41
commit
583ed3e9c4
@ -6563,7 +6563,7 @@ NS_IMETHODIMP nsImapMockChannel::AsyncRead(PRUint32 startPosition, PRInt32 readC
|
||||
if (cacheEntry && contentLength > 0 && !partialFlag)
|
||||
{
|
||||
nsCOMPtr<nsIChannel> cacheChannel;
|
||||
rv = cacheEntry->NewChannel(m_loadGroup, this, getter_AddRefs(cacheChannel));
|
||||
rv = cacheEntry->NewChannel(m_loadGroup, getter_AddRefs(cacheChannel));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
// turn around and make our ref on m_url an owning ref...and force the url to remove
|
||||
|
Loading…
Reference in New Issue
Block a user