summaryrefslogtreecommitdiffstats
path: root/src/audio/oal/stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/oal/stream.cpp')
-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 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;
}
}