1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-23 04:12:02 +00:00

fs.mitm: fix memory leak in romfs build (closes #1031)

This commit is contained in:
Michael Scire 2021-09-20 17:53:21 -07:00
parent 56bfbb02ec
commit ab81ed2795

View file

@ -197,6 +197,7 @@ namespace ams::mitm::fs {
~TableWriter() { ~TableWriter() {
this->Flush(); this->Flush();
std::free(this->cache);
} }
Entry *GetEntry(u32 entry_offset, u32 name_len) { Entry *GetEntry(u32 entry_offset, u32 name_len) {