diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2021-01-06 18:15:32 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2021-01-06 18:15:32 +0100 |
commit | ff9d6e4fd69745cca8f1bc8be33fd1d19420c485 (patch) | |
tree | 2cdc6019483fef3ce7ce480b1e8059e0f60d0eda /src/audio | |
parent | Small fixes for new wav decoder (diff) | |
download | re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar.gz re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar.bz2 re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar.lz re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar.xz re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.tar.zst re3-ff9d6e4fd69745cca8f1bc8be33fd1d19420c485.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/oal/stream.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp index ce0698c2..33f5bda9 100644 --- a/src/audio/oal/stream.cpp +++ b/src/audio/oal/stream.cpp @@ -671,11 +671,11 @@ public: if (pFile) { fclose(pFile); - delete decoders; + delete[] decoders; for (int i = 0; i < m_nChannels; i++) - delete ppTempBuffers[i]; - delete ppTempBuffers; - delete buffers; + delete[] ppTempBuffers[i]; + delete[] ppTempBuffers; + delete[] buffers; } } |