mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-06 09:32:17 +02:00
set.mitm: Fix mismatched new[] / delete
This commit is contained in:
parent
6422509c54
commit
218e40179a
@ -257,7 +257,7 @@ void SettingsItemManager::LoadConfiguration() {
|
|||||||
char *config_buf = new char[0x10000];
|
char *config_buf = new char[0x10000];
|
||||||
std::memset(config_buf, 0, 0x10000);
|
std::memset(config_buf, 0, 0x10000);
|
||||||
ON_SCOPE_EXIT {
|
ON_SCOPE_EXIT {
|
||||||
delete config_buf;
|
delete[] config_buf;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Read from file. */
|
/* Read from file. */
|
||||||
|
Loading…
Reference in New Issue
Block a user