fix crash when exporting audio (per chip)

also fix two misc issues in ES5506 and Sound Unit
This commit is contained in:
tildearrow 2023-07-24 22:34:39 -05:00
parent 68a2c5f2f0
commit 4161dcd786
3 changed files with 5 additions and 3 deletions

View file

@ -626,7 +626,7 @@ void DivPlatformSoundUnit::quit() {
delete oscBuf[i];
}
delete su;
delete sampleMem;
delete[] sampleMem;
}
DivPlatformSoundUnit::~DivPlatformSoundUnit() {