diff --git a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp index 5adadd40a..9c2c2be8b 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp @@ -197,6 +197,7 @@ namespace ams::mitm::fs { ~TableWriter() { this->Flush(); + std::free(this->cache); } Entry *GetEntry(u32 entry_offset, u32 name_len) {