37071 Crash while downloading anything
37353 browser segfaults on page loading git-svn-id: svn://10.0.0.236/trunk@68569 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1029,8 +1029,9 @@ nsresult
|
||||
nsCachedNetData::Evict(PRUint32 aTruncatedContentLength)
|
||||
{
|
||||
nsCOMPtr<nsINetDataCacheRecord> record;
|
||||
GetRecord(getter_AddRefs(record));
|
||||
|
||||
nsresult rv = GetRecord(getter_AddRefs(record));
|
||||
if ( NS_FAILED( rv ) ) return rv;
|
||||
if ( record.get() == NULL ) return NS_ERROR_FAILURE;
|
||||
// Tell observers about the eviction, so that they can release their
|
||||
// references to this cache object.
|
||||
Notify(nsIStreamAsFileObserver::REQUEST_DELETION, NS_OK);
|
||||
|
||||
Reference in New Issue
Block a user