Supervision: fix crash
This commit is contained in:
parent
43592b1ca7
commit
c8d323d708
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue