diff --git a/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp b/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp index 07fc421032e..0050ddb951d 100644 --- a/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp @@ -1823,6 +1823,10 @@ nsresult nsHTTPChannel::ResponseCompleted(nsIStreamListener *aListener, } } + // Release the cache entry as soon as we are done. This helps as it can + // flush any cache records and do maintenance. + mCacheEntry = nsnull; + // // After the consumer has been notified, remove the channel from its // load group... This will trigger an OnStopRequest from the load group.