aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effect.cpp b/al/effect.cpp
index 1024de80..2f5422fd 100644
--- a/al/effect.cpp
+++ b/al/effect.cpp
@@ -572,7 +572,7 @@ EffectSubList::~EffectSubList()
usemask &= ~(1_u64 << idx);
}
FreeMask = ~usemask;
- al_free(Effects);
+ al_free(alignof(ALeffect), Effects);
Effects = nullptr;
}