mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01:00
fs.mitm: fix memory leak in romfs build (closes #1031)
This commit is contained in:
parent
56bfbb02ec
commit
ab81ed2795
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user