diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2021-01-06 18:14:44 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2021-01-06 18:14:44 +0100 |
commit | 36996af82b9f4b8d9d20335f8141347a51304e02 (patch) | |
tree | 1879ff6d43ab88ca686a2ddcd7262d50991bc693 | |
parent | Small fixes for new wav decoder (diff) | |
download | re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar.gz re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar.bz2 re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar.lz re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar.xz re3-36996af82b9f4b8d9d20335f8141347a51304e02.tar.zst re3-36996af82b9f4b8d9d20335f8141347a51304e02.zip |
-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 2b1d37c2..c084f2a9 100644 --- a/src/audio/oal/stream.cpp +++ b/src/audio/oal/stream.cpp @@ -664,11 +664,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; } } |