From c67c29ebd50a1dbeb634023f7ec634f8cb8e3eeb Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 11 Apr 2021 05:44:13 -0700 Subject: [PATCH] ncm: fix random error when deleting content --- .../libstratosphere/source/ncm/ncm_content_storage_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/ncm/ncm_content_storage_impl.hpp b/libraries/libstratosphere/source/ncm/ncm_content_storage_impl.hpp index 8d8d5fc1a..b0879688d 100644 --- a/libraries/libstratosphere/source/ncm/ncm_content_storage_impl.hpp +++ b/libraries/libstratosphere/source/ncm/ncm_content_storage_impl.hpp @@ -60,7 +60,7 @@ namespace ams::ncm { static Result CleanupBase(const char *root_path); static Result VerifyBase(const char *root_path); public: - ContentStorageImpl() : rights_id_cache(nullptr), content_iterator(std::nullopt), last_content_offset(std::nullopt) { /* ... */ } + ContentStorageImpl() : placeholder_accessor(), cached_content_id(InvalidContentId), cached_file_handle(), rights_id_cache(nullptr), content_iterator(std::nullopt), last_content_offset(std::nullopt) { /* ... */ } ~ContentStorageImpl(); Result Initialize(const char *root_path, MakeContentPathFunction content_path_func, MakePlaceHolderPathFunction placeholder_path_func, bool delay_flush, RightsIdCache *rights_id_cache);