1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-27 06:12:15 +00:00
Atmosphere/stratosphere/ams_mitm/source/fs_mitm
Léo Lam b6d3df3335 fs_mitm: Fix mismatched new[] / delete (#389)
* fs.mitm: Fix mismatched new[] / delete

Using delete instead of delete[] on a pointer given by new[] is
undefined behaviour.

For memory sources, malloc/free are used because cleaning up is tricky
when data can be either allocated with new (RomfsHeader) or new[]
(metadata).

* set.mitm: Fix mismatched new[] / delete
2019-03-08 07:25:33 -08:00
..
fs_istorage.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fs_shim.c Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fs_shim.h Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_boot0storage.cpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_boot0storage.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_layeredrom.cpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_layeredrom.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_main.cpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_main.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_romfsbuild.cpp fs_mitm: Fix mismatched new[] / delete (#389) 2019-03-08 07:25:33 -08:00
fsmitm_romfsbuild.hpp fs_mitm: Fix mismatched new[] / delete (#389) 2019-03-08 07:25:33 -08:00
fsmitm_romstorage.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
fsmitm_service.cpp fs.mitm: fix two cases of inverted logic 2019-03-07 19:53:21 -08:00
fsmitm_service.hpp Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00