summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-06 18:15:32 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-06 18:15:32 +0100
commitff9d6e4fd69745cca8f1bc8be33fd1d19420c485 (patch)
tree2cdc6019483fef3ce7ce480b1e8059e0f60d0eda /src
parentSmall fixes for new wav decoder (diff)
downloadre3-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')
-rw-r--r--src/audio/oal/stream.cpp8
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;
}
}