From 7b34dd1fa792d4c344b5fd653b82373ba741d67b Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 7 Feb 2015 23:20:15 +0000 Subject: [PATCH] Fixed refcount for pieces. --- common/lc_library.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/lc_library.cpp b/common/lc_library.cpp index db2306bf..259932ce 100644 --- a/common/lc_library.cpp +++ b/common/lc_library.cpp @@ -790,7 +790,6 @@ void lcPiecesLibrary::SaveCacheFile() CacheFile.AddFile(Info->m_strName, PieceFile); Info->mFlags |= LC_PIECE_CACHED; - Info->Release(); } IndexFile.Seek(0, SEEK_SET);