aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2019-06-05 17:25:08 -0700
committerChris Robinson <chris.kcat@gmail.com>2019-06-05 17:25:08 -0700
commit5f26205f8fb504c5f6fec3e2b02f0009a4f24be2 (patch)
tree606172569e4f406a11cbef0bd9bc3fc8d59c6d06 /Alc/alu.cpp
parentf27e73989c9831cde96880edafb01e662a7de2db (diff)
Properly destroy other objects
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 97ebf0cb..00867810 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -181,7 +181,7 @@ void aluInit(void)
void DeinitVoice(ALvoice *voice) noexcept
{
delete voice->mUpdate.exchange(nullptr, std::memory_order_acq_rel);
- voice->~ALvoice();
+ al::destroy_at(voice);
}