summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-06 17:56:23 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-06 17:56:23 +0100
commit145bd243e8fc0a25e18288cb9d012320aef8b43e (patch)
treecab228634fa21d07110136564acbc9ebf45ea2af /src/audio
parentRemove fastmath from premake's config (diff)
downloadre3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar.gz
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar.bz2
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar.lz
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar.xz
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.tar.zst
re3-145bd243e8fc0a25e18288cb9d012320aef8b43e.zip
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: