Small fixes for new wav decoder

This commit is contained in:
Filip Gawin 2021-01-06 17:56:23 +01:00
parent 4cb00d3801
commit 145bd243e8

View File

@ -193,9 +193,9 @@ class CWavFile : public IDecoder
fclose(pFile);
pFile = nil;
}
if (AdpcmBlock) delete AdpcmBlock;
if (buffers) delete buffers;
if (decoders) delete decoders;
if (AdpcmBlock) delete[] AdpcmBlock;
if (buffers) delete[] buffers;
if (decoders) delete[] decoders;
}
public: