1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00

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: