Supervision: fix crash

This commit is contained in:
tildearrow 2025-07-28 05:25:17 -05:00
parent 43592b1ca7
commit c8d323d708

View file

@ -606,10 +606,12 @@ void DivPlatformSupervision::quit() {
// initialization of important arrays
DivPlatformSupervision::DivPlatformSupervision() {
sampleOff=new unsigned int[32768];
sampleLen=new unsigned int[32768];
sampleLoaded=new bool[32768];
}
DivPlatformSupervision::~DivPlatformSupervision() {
delete[] sampleOff;
delete[] sampleLen;
delete[] sampleLoaded;
}