mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00
Do not crash when calling GetNExtCache() if the Disk Cache is not available...
This commit is contained in:
parent
897c00d471
commit
8e087079f1
2
netwerk/cache/memcache/nsMemCache.cpp
vendored
2
netwerk/cache/memcache/nsMemCache.cpp
vendored
@ -252,7 +252,7 @@ nsMemCache::GetNextCache(nsINetDataCache* *aNextCache)
|
||||
{
|
||||
NS_ENSURE_ARG(aNextCache);
|
||||
*aNextCache = mNextCache;
|
||||
NS_ADDREF(*aNextCache);
|
||||
NS_IF_ADDREF(*aNextCache);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user