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/oal | |
parent | 2bcb2a40e48616b6fae57a530254f2f1dcc15f2e (diff) |
Fixes for CVbFile
Diffstat (limited to 'src/audio/oal')
-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; } } |