Supervision: fix crash
This commit is contained in:
parent
43592b1ca7
commit
c8d323d708
|
@ -606,10 +606,12 @@ void DivPlatformSupervision::quit() {
|
||||||
// initialization of important arrays
|
// initialization of important arrays
|
||||||
DivPlatformSupervision::DivPlatformSupervision() {
|
DivPlatformSupervision::DivPlatformSupervision() {
|
||||||
sampleOff=new unsigned int[32768];
|
sampleOff=new unsigned int[32768];
|
||||||
|
sampleLen=new unsigned int[32768];
|
||||||
sampleLoaded=new bool[32768];
|
sampleLoaded=new bool[32768];
|
||||||
}
|
}
|
||||||
|
|
||||||
DivPlatformSupervision::~DivPlatformSupervision() {
|
DivPlatformSupervision::~DivPlatformSupervision() {
|
||||||
delete[] sampleOff;
|
delete[] sampleOff;
|
||||||
|
delete[] sampleLen;
|
||||||
delete[] sampleLoaded;
|
delete[] sampleLoaded;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue