summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-06 17:57:43 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-06 17:57:43 +0100
commit2bcb2a40e48616b6fae57a530254f2f1dcc15f2e (patch)
treebe431c7ff0e5b6090503c556b67f96b8d8b7558d /src/audio
parentRemove fastmath from premake's config (diff)
downloadre3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar.gz
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar.bz2
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar.lz
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar.xz
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.tar.zst
re3-2bcb2a40e48616b6fae57a530254f2f1dcc15f2e.zip
Diffstat (limited to 'src/audio')
-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 6f06a4d4..ce0698c2 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: