Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3171 from stupid-boy/CSimpleDoubleCache

[FIX] CSimpleDoubleCache: do not change type of underlying cache
  • Loading branch information...
commit 4e13c225ebd0fe20df89c899094a1593c8a11ff1 2 parents 421a4e8 + ba5ccef
@ulion ulion authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/filesystem/CacheStrategy.cpp
View
2  xbmc/filesystem/CacheStrategy.cpp
@@ -334,7 +334,7 @@ void CSimpleDoubleCache::Reset(int64_t iSourcePosition, bool clearAnyway)
}
if (!m_pCacheOld)
{
- CSimpleFileCache *pCacheNew = new CSimpleFileCache();
+ CCacheStrategy *pCacheNew = m_pCache->CreateNew();
if (pCacheNew->Open() != CACHE_RC_OK)
{
delete pCacheNew;

0 comments on commit 4e13c22

Please sign in to comment.
Something went wrong with that request. Please try again.