Small fixes for new wav decoder

This commit is contained in:
Filip Gawin 2021-01-06 17:57:43 +01:00
parent d9e2b1f0de
commit 2bcb2a40e4

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: