summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio/oal/stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 0a5be049..2b1d37c2 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -193,9 +193,9 @@ class CWavFile : public IDecoder
fclose(pFile);
pFile = nil;
}
- if (AdpcmBlock) delete AdpcmBlock;
- if (buffers) delete buffers;
- if (decoders) delete decoders;
+ if (AdpcmBlock) delete[] AdpcmBlock;
+ if (buffers) delete[] buffers;
+ if (decoders) delete[] decoders;
}
public: