mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-05 17:12:14 +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];
|
||||
std::memset(config_buf, 0, 0x10000);
|
||||
ON_SCOPE_EXIT {
|
||||
delete config_buf;
|
||||
delete[] config_buf;
|
||||
};
|
||||
|
||||
/* Read from file. */
|
||||
|
Loading…
Reference in New Issue
Block a user